contentbox.model.ui.editors

Class EditAreaEditor

railo-context.Component
        extended by contentbox.model.ui.editors.EditAreaEditor
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 html


    • inject = coldbox:plugin:HTMLHelper
    true false
    any log


    • inject = logbox:logger:{this}
    true false
    Constructor Summary
    init(any coldbox)
          Constructor.
    Method Summary
    any getDisplayName()
         Get the display name of an editor.
    string getHtml()
    string getLog()
    any getName()
         Get the internal name of an editor.
    any loadAssets()
         This is fired once editor javascript loads, you can use this to return back functions, asset calls, etc.
    any setHtml(any html)
    any setLog(any log)
    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)

    Constructor

    Parameters:
    coldbox

    Property Detail

    html

    property any html

    Attributes:
    required - false
    inject - coldbox:plugin:HTMLHelper
    serializable - true

    log

    property any log

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

    Method Detail

    getDisplayName

    public any getDisplayName()

    Get the display name of an editor

    Specified by:
    getDisplayName in interface IEditor

    getHtml

    public string getHtml()


    getLog

    public string getLog()


    getName

    public any getName()

    Get the internal name of an editor

    Specified by:
    getName in interface IEditor

    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

    setHtml

    public any setHtml(any html)

    Parameters:
    html

    setLog

    public any setLog(any log)

    Parameters:
    log

    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