contentbox.model.ui.editors

Class CKEditor

railo-context.Component
        extended by contentbox.model.ui.editors.CKEditor
Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    All Implemented Interfaces:
    IEditor

    ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Simple textarea editor

    Property Summary
    type property default serializable required
    any extraPlugins


    true false
    any log


    • inject = logbox:logger:{this}
    true false
    any TOOLBAR_JSON


    true false
    Constructor Summary
    init(any coldbox, any settingService)
          Constructor.
    Method Summary
    private any compileJS([any iData], [any iData2], [any iData3])
    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 railo-context.Component
    None

    Constructor Detail

    init

    public init(any coldbox, any settingService)

    Constructor

    Parameters:
    coldbox
    settingService

    Property Detail

    extraPlugins

    property any extraPlugins

    Attributes:
    required - false
    serializable - true

    log

    property any log

    Attributes:
    required - false
    inject - logbox:logger:{this}
    serializable - true

    TOOLBAR_JSON

    property any TOOLBAR_JSON

    Attributes:
    required - false
    serializable - true

    Method Detail

    compileJS

    private any compileJS([any iData], [any iData2], [any iData3])

    Parameters:
    iData
    iData2
    iData3

    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