Enum Class CKEditorPlugin
- All Implemented Interfaces:
Serializable, Comparable<CKEditorPlugin>, Constable
CKEditor 5 official plugin enumeration.
Each plugin corresponds to an export from the ckeditor5 npm package.
Usage example:
VaadinCKEditor.create()
.withPlugins(CKEditorPlugin.BOLD, CKEditorPlugin.ITALIC, CKEditorPlugin.IMAGE)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPlugin categories for organizationNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMerge adjacent listsText alignmentAuto-detect images from URLsAuto-detect linksMarkdown-like autoformattingAutosave functionalityBase64 upload adapterBlock quotesBold textAnchor bookmarks for document navigationClipboard supportCKEditor Cloud Services integrationCloud Services coreCloud Services upload adapterInline codeCode blocksCloud-based image upload (requires CloudServices)Emoji picker and insertionVisual emoji picker UIEssential editing features (required)Find and replaceBackground colorFont colorFont family controlFont size controlFull-screen editing modeGeneral HTML supportHeadingsText highlightingHorizontal linesHTML commentsEmbed raw HTMLBasic image supportBlock imagesImage captionsInline imagesImage insertionImage resizingImage stylesImage toolbarImage uploadIndentationBlock indentationItalic textLine heightHyperlinksImage linkingOrdered/Unordered listsBold/italic/font in list markersList start number, reversed, style typeMarkdown GFM data processorEmbed media from URLsContent minimap for document navigationPage breaksParagraph support (required)Paste from Markdown (experimental)Paste from OfficeRemove formattingRestricted editing modeSelect all contentShow block elementsSimple upload adapterSource code editingSpecial charactersArrow symbolsCurrency symbolsEssential special character setsLatin extended charactersMathematical symbolsText symbolsStandard editing modeStrikethrough textStyle attribute support - applies CSS classes to elementsSubscript textSuperscript textBasic table supportTable captionsTable cell propertiesTable column resizingTable propertiesTable toolbarMulti-language text markupText transformationsDocument title placeholderTo-do listsInput handlingUnderlined textUndo/Redo functionalityWidget framework baseWidget resizingWidget toolbar managementWidget type around navigationWord/character count -
Method Summary
Modifier and TypeMethodDescriptionstatic CKEditorPluginfromJsName(String jsName) Find plugin by JavaScript namestatic Set<CKEditorPlugin> getByCategory(CKEditorPlugin.Category category) Get all plugins in a categoryGet the plugin categoryGet the JavaScript plugin nameGet toolbar items provided by this pluginbooleanCheck if this is a premium feature (requires license).static CKEditorPluginReturns the enum constant of this class with the specified name.static CKEditorPlugin[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ESSENTIALS
Essential editing features (required) -
PARAGRAPH
Paragraph support (required) -
UNDO
Undo/Redo functionality -
CLIPBOARD
Clipboard support -
TYPING
Input handling -
SELECT_ALL
Select all content -
BOLD
Bold text -
ITALIC
Italic text -
UNDERLINE
Underlined text -
STRIKETHROUGH
Strikethrough text -
CODE
Inline code -
SUPERSCRIPT
Superscript text -
SUBSCRIPT
Subscript text -
FONT_SIZE
Font size control -
FONT_FAMILY
Font family control -
FONT_COLOR
Font color -
FONT_BACKGROUND_COLOR
Background color -
HEADING
Headings -
ALIGNMENT
Text alignment -
INDENT
Indentation -
INDENT_BLOCK
Block indentation -
BLOCK_QUOTE
Block quotes -
LINE_HEIGHT
Line height -
LIST
Ordered/Unordered lists -
TODO_LIST
To-do lists -
LINK
Hyperlinks -
AUTO_LINK
Auto-detect links -
IMAGE
Basic image support -
IMAGE_TOOLBAR
Image toolbar -
IMAGE_CAPTION
Image captions -
IMAGE_STYLE
Image styles -
IMAGE_RESIZE
Image resizing -
IMAGE_UPLOAD
Image upload -
IMAGE_INSERT
Image insertion -
IMAGE_BLOCK
Block images -
IMAGE_INLINE
Inline images -
LINK_IMAGE
Image linking -
AUTO_IMAGE
Auto-detect images from URLs -
BASE64_UPLOAD_ADAPTER
Base64 upload adapter -
SIMPLE_UPLOAD_ADAPTER
Simple upload adapter -
TABLE
Basic table support -
TABLE_TOOLBAR
Table toolbar -
TABLE_PROPERTIES
Table properties -
TABLE_CELL_PROPERTIES
Table cell properties -
TABLE_CAPTION
Table captions -
TABLE_COLUMN_RESIZE
Table column resizing -
MEDIA_EMBED
Embed media from URLs -
HTML_EMBED
Embed raw HTML -
CODE_BLOCK
Code blocks -
HORIZONTAL_LINE
Horizontal lines -
PAGE_BREAK
Page breaks -
SPECIAL_CHARACTERS
Special characters -
SPECIAL_CHARACTERS_ESSENTIALS
Essential special character sets -
AUTOFORMAT
Markdown-like autoformatting -
TEXT_TRANSFORMATION
Text transformations -
FIND_AND_REPLACE
Find and replace -
REMOVE_FORMAT
Remove formatting -
SOURCE_EDITING
Source code editing -
SHOW_BLOCKS
Show block elements -
HIGHLIGHT
Text highlighting -
MENTION
-
AUTOSAVE
Autosave functionality -
WORD_COUNT
Word/character count -
TITLE
Document title placeholder -
PASTE_FROM_OFFICE
Paste from Office -
GENERAL_HTML_SUPPORT
General HTML support -
HTML_COMMENT
HTML comments -
STYLE
Style attribute support - applies CSS classes to elements -
RESTRICTED_EDITING_MODE
Restricted editing mode -
STANDARD_EDITING_MODE
Standard editing mode -
BOOKMARK
Anchor bookmarks for document navigation -
FULLSCREEN
Full-screen editing mode -
MARKDOWN
Markdown GFM data processor -
PASTE_FROM_MARKDOWN_EXPERIMENTAL
Paste from Markdown (experimental) -
LIST_PROPERTIES
List start number, reversed, style type -
LIST_FORMATTING
Bold/italic/font in list markers -
ADJACENT_LISTS_SUPPORT
Merge adjacent lists -
SPECIAL_CHARACTERS_ARROWS
Arrow symbols -
SPECIAL_CHARACTERS_CURRENCY
Currency symbols -
SPECIAL_CHARACTERS_LATIN
Latin extended characters -
SPECIAL_CHARACTERS_MATHEMATICAL
Mathematical symbols -
SPECIAL_CHARACTERS_TEXT
Text symbols -
TEXT_PART_LANGUAGE
Multi-language text markup -
CLOUD_SERVICES
CKEditor Cloud Services integration -
CLOUD_SERVICES_CORE
Cloud Services core -
CLOUD_SERVICES_UPLOAD_ADAPTER
Cloud Services upload adapter -
EASY_IMAGE
Cloud-based image upload (requires CloudServices) -
MINIMAP
Content minimap for document navigation -
WIDGET
Widget framework base -
WIDGET_TOOLBAR_REPOSITORY
Widget toolbar management -
WIDGET_RESIZE
Widget resizing -
WIDGET_TYPE_AROUND
Widget type around navigation -
EMOJI
Emoji picker and insertion -
EMOJI_PICKER
Visual emoji picker UI
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getJsName
Get the JavaScript plugin name -
getCategory
Get the plugin category -
getToolbarItems
-
isPremium
public boolean isPremium()Check if this is a premium feature (requires license). Note: All built-in plugins are free. Premium features require the ckeditor5-premium-features package and a license key. Use CustomPlugin to load premium plugins.- Returns:
- always false for built-in plugins
-
getByCategory
Get all plugins in a category -
fromJsName
Find plugin by JavaScript name- Parameters:
jsName- JavaScript plugin name- Returns:
- the corresponding plugin, or null if not found
-