contentbox.modules.contentbox-admin.modules.contentbox-ckeditor.models

Class CKEditor

lucee.Component
    extended by contentbox.modules.contentbox-admin.modules.contentbox-ckeditor.models.CKEditor
All Implemented Interfaces:
IEditor

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- CKEditor Implementation

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any TOOLBAR_JSON
          The static JSON for our default toolbar.

    • access = public
    • returntype = any
    true false
    any extraPlugins
          The extra plugins we have created for CKEditor.

    • access = public
    • returntype = any
    true false
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    Constructor Summary
    init(any coldbox, any settingService, any html)
          Constructor.
    Method Summary
    private any compileJS(any iData, any iData2, any iData3, any iData4)
         Compile the needed JS to display into the screen.
    any getDisplayName()
         Get the display name of an editor.
    string getExtraPlugins()
    string getLog()
    any getName()
         Get the internal name of an editor.
    string getTOOLBAR_JSON()
    any loadAssets()
         This is fired once editor javascript loads, you can use this to return back functions, asset calls, etc.
    any setExtraPlugins(any extraPlugins)
    any setLog(any log)
    any setTOOLBAR_JSON(any TOOLBAR_JSON)
    any shutdown()
         Shutdown the editor(s) on a page.
    any startup()
         Startup the editor(s) on a page.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any coldbox, any settingService, any html)

    Constructor

    Parameters:
    coldbox
    settingService
    html

    Property Detail

    TOOLBAR_JSON

    property any TOOLBAR_JSON

    The static JSON for our default toolbar

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    extraPlugins

    property any extraPlugins

    The extra plugins we have created for CKEditor

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    Method Detail

    compileJS

    private any compileJS(any iData, any iData2, any iData3, any iData4)

    Compile the needed JS to display into the screen

    Parameters:
    iData
    iData2
    iData3
    iData4

    getDisplayName

    public any getDisplayName()

    Get the display name of an editor

    Specified by:
    getDisplayName in interface IEditor

    getExtraPlugins

    public string getExtraPlugins()


    getLog

    public string getLog()


    getName

    public any getName()

    Get the internal name of an editor

    Specified by:
    getName in interface IEditor

    getTOOLBAR_JSON

    public string getTOOLBAR_JSON()


    loadAssets

    public any loadAssets()

    This is fired once editor javascript loads, you can use this to return back functions, asset calls, etc. return the appropriate JavaScript

    Specified by:
    loadAssets in interface IEditor

    setExtraPlugins

    public any setExtraPlugins(any extraPlugins)

    Parameters:
    extraPlugins

    setLog

    public any setLog(any log)

    Parameters:
    log

    setTOOLBAR_JSON

    public any setTOOLBAR_JSON(any TOOLBAR_JSON)

    Parameters:
    TOOLBAR_JSON

    shutdown

    public any shutdown()

    Shutdown the editor(s) on a page

    Specified by:
    shutdown in interface IEditor

    startup

    public any startup()

    Startup the editor(s) on a page

    Specified by:
    startup in interface IEditor