ContentBox Core API 1.6.0

contentbox.model.ui.editors
Class CKEditor

WEB-INF.cftags.component
        extended by contentbox.model.ui.editors.CKEditor
All Implemented Interfaces:
IEditor

public class CKEditor
extends WEB-INF.cftags.component

******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | 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 & Description Default Serializable Required
 any TOOLBAR_JSON


Attributes:
true false
 any extraPlugins


Attributes:
true false
 any log


Attributes:
  • inject = logbox:logger:{this}
true false
 
Constructor Summary
init(any coldbox, any settingService)
          Constructor
 
Method Summary
 any GETEXTRAPLUGINS()
 any GETLOG()
 any GETTOOLBAR_JSON()
 CKEditor SETEXTRAPLUGINS(any extraPlugins)
 CKEditor SETLOG(any log)
 CKEditor SETTOOLBAR_JSON(any TOOLBAR_JSON)
private any compileJS([any iData], [any iData2], [any iData3])
 any getDisplayName()
          Get the display name of an editor
 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 shutdown()
          Shutdown the editor(s) on a page
 any startup()
          Startup the editor(s) on a page
 
Methods inherited from class WEB-INF.cftags.component
None
 

Constructor Detail

init

public init(any coldbox, any settingService)
Constructor

Parameters:
coldbox
settingService
Property Detail

TOOLBAR_JSON

any TOOLBAR_JSON

Attributes:
default -
serializable - true
required - false

extraPlugins

any extraPlugins

Attributes:
default -
serializable - true
required - false

log

any log

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

Method Detail

GETEXTRAPLUGINS

public any GETEXTRAPLUGINS()


GETLOG

public any GETLOG()


GETTOOLBAR_JSON

public any GETTOOLBAR_JSON()


SETEXTRAPLUGINS

public CKEditor SETEXTRAPLUGINS(any extraPlugins)

Parameters:
extraPlugins

SETLOG

public CKEditor SETLOG(any log)

Parameters:
log

SETTOOLBAR_JSON

public CKEditor SETTOOLBAR_JSON(any TOOLBAR_JSON)

Parameters:
TOOLBAR_JSON

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

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

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

ContentBox Core API 1.6.0