railo-context.Componentcontentbox.model.ui.editors.EditorService
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. Manages editor services
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
struct
|
editors
|
true
|
false
|
|
struct
|
markups
|
true
|
false
|
|
any
|
settingService
|
true
|
false
|
Constructor Summary | |
---|---|
init(any wirebox)
Constructor. |
Method Summary | |
---|---|
any
|
getDefaultEditor()
Get the default system editor. |
any
|
getDefaultMarkup()
Get the default system markup. |
IEditor
|
getEditor(any name)
Get a registered editor instance. |
string
|
getEditors()
|
string
|
getMarkups()
|
array
|
getRegisteredEditors()
Get an array of registered editor names in alphabetical order. |
array
|
getRegisteredEditorsMap()
Get an array of registered editor names in alphabetical order with their display names. |
array
|
getRegisteredMarkups()
Get an array of registered markup names in alphabetical order. |
string
|
getSettingService()
|
EditorService
|
registerEditor(IEditor editor)
Register a new editor in ContentBox. |
EditorService
|
registerMarkup(string markup)
Register a new markup in ContentBox. |
any
|
setEditors(struct editors)
|
any
|
setMarkups(struct markups)
|
any
|
setSettingService(any settingService)
|
EditorService
|
unRegisterEditor(any name)
UnRegister an editor in ContentBox. |
EditorService
|
unRegisterMarkup(string markup)
UnRegister a markup in ContentBox. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
wirebox
Property Detail |
---|
required
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseinject
- settingService@cbserializable
- trueMethod Detail |
---|
Get the default system editor
Get the default system markup
Get a registered editor instance
name
Get an array of registered editor names in alphabetical order
Get an array of registered editor names in alphabetical order with their display names
Get an array of registered markup names in alphabetical order
Register a new editor in ContentBox
editor
Register a new markup in ContentBox
markup
editors
markups
settingService
UnRegister an editor in ContentBox
name
UnRegister a markup in ContentBox
markup