Customization

Features, buttons, toolbar layout etc.

These properties and methods can be used to customize the appearance and functionality of the editor.

Examples: 

Customizing the toolbar layout:

// remove the default toolbar layout
$editor->clearToolbarLayout();

// add a new toolbar
$editor->addToolbar('toolbar1', array('styles','separator','bold','italic','underline','superscript','subscript','strikethrough''separator','image','link'));

clearContextMenu
clearContextMenu Availability: >= 3.0 Type: Object Method Description: Empties the
clearFontMenu
clearFontMenu Availability: >= 3.0 Type: Object Method Description: Empties the
buttonIsEnabled
buttonIsEnabled Availability: >= 3.0 Type: Object Method Description: Returns true
appendToQueryStrings
appendToQueryStrings Availability: >= 3.0 Type: Object Property Description: Sets additional
addJSPlugin
addJSPlugin Availability: >= 3.0 Type: Object Method Description: Tells the
clearSizeMenu
clearSizeMenu Availability: >= 3.0 Type: Object Method Description: Empties the
clearStylesMenu
clearStylesMenu Availability: >= 3.0 Type: Object Method Description: Empties the
disableBookmarkMngr
disableBookmarkMngr Availability: >= 2.0 Type: Object Property Description: Depreciated, please
contextMenu
contextMenu Availability: >= 3.0 Type: Object Property Description: Sets the
clearToolbarLayout
clearToolbarLayout Availability: >= 3.0 Type: Object Method Description: Empties the
colorSwatches
colorSwatches Availability: >= 3.0 Type: Object Property Description: Sets custom
addJSHTMLFilter
addJSHTMLFilter Availability: >= 3.0 Type: Object Method Description: Allows you
addJSFormattingValueHandler
addJSFormattingValueHandler Availability: >= 3.0 Type: Object Method Description: Syntax:
addSeparator
addSeparator Availability: >= 3.0 Type: Object Method Description: Registers a
addSize
addSize Availability: >= 3.0 Type: Object Method Description: Adds a
addRegisteredButton
addRegisteredButton Availability: >= 3.0 Type: Object Method Description: Adds a
addFont
addFont Availability: >= 3.0 Type: Object Method Description: Adds a
addContextMenuItem
addSpacer
addSpacer Availability: >= 2.0 Type: Object Method Description: Registers a
addstyle
addStyle Availability: >= 3.0 Type: Object Property Description: Adds a
addJSFormattingHandler
addJSFormattingHandler Availability: >= 3.0 Type: Object Method Description: Registers a
addJSEditorEvent
addJSEditorEvent Availability: >= 3.0 Type: Object Method Description: Allows you
addJSButtonStateHandler
addJSButtonStateHandler Availability: >= 3.0 Type: Object Method Description: Registers a
addToolbar
addToolbar Availability: >= 3.0 Type: Object Method Description: Adds a
addButton
addButton Availability: >= 2.0 Type: Object Method Description: Registers a
1 2 3  [»] Next