lucee.Componentcontentbox.modules.contentbox-admin.modules.contentbox-markdowneditor.models.MarkdownEditor
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- SimpleMDE Implementation
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
log
|
true
|
false
|
Constructor Summary | |
---|---|
init(any coldbox, any settingService, any html)
Constructor. |
Method Summary | |
---|---|
private any
|
buildToolbarJS(any editor)
Build the toolbar JS according to editor name. |
private any
|
compileJS(any iData, any iData2)
Compile the needed JS to display into the screen. |
any
|
getDisplayName()
Get the display name of an editor. |
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
|
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 lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
coldbox
settingService
html
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:{this}serializable
- trueMethod Detail |
---|
Build the toolbar JS according to editor name
editor
- The editor name to bind the toolbar toCompile the needed JS to display into the screen
iData
iData2
Get the display name of an editor
getDisplayName
in interface
IEditor
Get the internal name of an editor
getName
in interface
IEditor
This is fired once editor javascript loads, you can use this to return back functions, asset calls, etc. return the appropriate JavaScript
loadAssets
in interface
IEditor
log
Shutdown the editor(s) on a page
shutdown
in interface
IEditor
Startup the editor(s) on a page
startup
in interface
IEditor