contentbox.models.ui.editors.IEditor
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Interface to implement ContentBox editors
Method Summary | |
---|---|
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. |
Method Detail |
---|
Get the display name of an editor
Get the internal name of an editor
This is fired once editor javascript loads, you can use this to return back functions, asset calls, etc.
return the appropriate JavaScript.
Each editor must implement the following JS functions:
checkIsDirty() - Checks if the editor has detected any changes
getEditorContent() - Get's the HTML value of the content field
getEditorExcerpt() - Get's the HTML value of the excerpt field
updateEditorContent() - Updates the HTML value of the content field from the editor (if editor supports it)
updateEditorExcerpt() - Updates the HTML value of the excerpt field from the editor (if editor supports it)
Shutdown the editor(s) on a page. This method is called inline within our dynamic JavaScript and must return the appropriate JavaScript to turn off the editor.
Startup the editor(s) on a page. This method is called inline within our dynamic JavaScript and must return the appropriate JavaScript to turn on the editor.