public class MagnoliaCKEditorConfig
extends org.vaadin.alump.ckeditor.CKEditorConfig
Modifier and Type | Class and Description |
---|---|
static class |
MagnoliaCKEditorConfig.ToolbarGroup
Represents a CKEditor toolbar.
|
allowedContent, baseFloatZIndex, bodyClass, CKEDITOR_DEFAULT_FONT_NAMES, CKEDITOR_KEYSTROKE_ALT, CKEDITOR_KEYSTROKE_CTRL, CKEDITOR_KEYSTROKE_SHIFT, contentsCssFiles, customToolbarLines, disableNativeSpellChecker, enterMode, extraAllowedContent, extraConfigLines, extraPlugins, filebrowserBrowseUrl, filebrowserFlashBrowseLinkUrl, filebrowserFlashBrowseUrl, filebrowserFlashUploadUrl, filebrowserImageBrowseLinkUrl, filebrowserImageBrowseUrl, filebrowserImageUploadUrl, filebrowserImageWindowHeight, filebrowserImageWindowWidth, filebrowserLinkBrowseUrl, filebrowserUploadUrl, filebrowserWindowHeight, filebrowserWindowWidth, fontNames, forceEnterMode, forcePasteAsPlainText, fullPage, height, inPageConfig, keystrokeMappings, language, pasteFromWordPromptCleanup, pasteFromWordRemoveFontStyles, protectedSource, readOnly, removePlugins, resizeDir, resizeEnabled, resizeMaxHeight, resizeMaxWidth, resizeMinHeight, resizeMinWidth, shiftEnterMode, skin, startupFocus, startupMode, stylesSet, tabSpaces, templates_files, templates_replaceContent, toolbarCanCollapse, toolbarStartupExpanded, width, writerIndentationChars, writerRules
Constructor and Description |
---|
MagnoliaCKEditorConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addExternalPlugin(String pluginName,
String source) |
void |
addExtraConfig(String extraConfigName,
String extraConfigValue) |
void |
addListenedEvent(String eventName)
Add CKEditor event name that server side will listen.
|
void |
addToExtraPlugins(String pluginName) |
void |
addToolbarLine(List<MagnoliaCKEditorConfig.ToolbarGroup> toolbars)
Adds list of toolbar groups.
|
void |
addToRemovePlugins(String pluginName) |
static List<MagnoliaCKEditorConfig.ToolbarGroup> |
defaultToolbar() |
Map<String,String> |
getExternalPlugins() |
String[] |
getListenedEvents() |
void |
setBaseFloatZIndex(int zIndex) |
void |
setResizeEnabled(boolean enabled) |
addCustomToolbarLine, addFontName, addKeystrokeMapping, addProtectedSource, addTemplatesFiles, addWriterRules, appendJSONConfig, disableElementsPath, disableResizeEditor, disableSpellChecker, enableCtrlSWithVaadinSavePlugin, enableVaadinSavePlugin, getCkeditorDefaultFontNameList, getFontNameList, getInPageConfig, getKeystrokeCommandByKeystroke, getKeystrokes, getProtectedSource, getWriterIndentationChars, getWriterRuleByTagName, getWriterRulesTagNames, hasKeystrokeMappings, hasProtectedSource, hasWriterIndentationChars, hasWriterRules, isReadOnly, setAllowedContent, setAllowedContentAll, setBodyClass, setContentsCss, setDisableNativeSpellChecker, setEnterMode, setEnterMode, setExtraAllowedContent, setFilebrowserBrowseUrl, setFilebrowserFlashBrowseLinkUrl, setFilebrowserFlashBrowseUrl, setFilebrowserFlashUploadUrl, setFilebrowserImageBrowseLinkUrl, setFilebrowserImageBrowseUrl, setFilebrowserImageUploadUrl, setFilebrowserImageWindowHeight, setFilebrowserImageWindowWidth, setFilebrowserLinkBrowseUrl, setFilebrowserUploadUrl, setFilebrowserWindowHeight, setFilebrowserWindowWidth, setFontNames, setFontNames, setForceEnterMode, setForcePasteAsPlainText, setFullPage, setHeight, setInPageConfig, setLanguage, setPasteFromWordPromptCleanup, setPasteFromWordRemoveFontStyles, setReadOnly, setResizeDir, setResizeMaxHeight, setResizeMaxWidth, setResizeMinHeight, setResizeMinWidth, setShiftEnterMode, setShiftEnterMode, setSkin, setStartupFocus, setStartupModeSource, setStartupModeWysiwyg, setStylesSet, setTabSpaces, setTemplatesReplaceContent, setToolbarCanCollapse, setToolbarStartupExpanded, setupForOpenESignForms, setWidth, setWriterIndentationChars, useCompactTags
public void addToolbarLine(List<MagnoliaCKEditorConfig.ToolbarGroup> toolbars)
public void addListenedEvent(String eventName)
eventName
- This must match in client side. e.g: editor.fire('eventName')public String[] getListenedEvents()
public void addExtraConfig(String extraConfigName, String extraConfigValue)
addExtraConfig
in class org.vaadin.alump.ckeditor.CKEditorConfig
public void addToRemovePlugins(String pluginName)
addToRemovePlugins
in class org.vaadin.alump.ckeditor.CKEditorConfig
public void addToExtraPlugins(String pluginName)
addToExtraPlugins
in class org.vaadin.alump.ckeditor.CKEditorConfig
public void setBaseFloatZIndex(int zIndex)
setBaseFloatZIndex
in class org.vaadin.alump.ckeditor.CKEditorConfig
public void setResizeEnabled(boolean enabled)
setResizeEnabled
in class org.vaadin.alump.ckeditor.CKEditorConfig
public static List<MagnoliaCKEditorConfig.ToolbarGroup> defaultToolbar()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.