List of Plugins
Here are the plugins available in svelte-lexical.
| Plugin | Description | Plugin file | Dependencies |
|---|---|---|---|
| Rich Text | Enable rich text support. It’s a must to include this plugin or PlainTextPlugin | RichTextPlugin | |
| Plain Text | Enable plain text support. It’s a must to include this plugin or RichTextPlugin | PlainTextPlugin | |
| History | Support undo / redo for a single editor | HistoryPlugin | |
| Shared History | Support undo / redo. It shares the history with nested editors | SharedHistoryPlugin | |
| List | Enable ordered and unordered lists | ListPlugin | |
| Checklist | Enable Checklist | CheckListPlugin | |
| Horizontal Rule | Enable Horizontal Rule | HorizontalRulePlugin | |
| Link | Enable hyperlinks | LinkPlugin | |
| Link Editor | Show a floating editor for links | FloatingLinkEditorPlugin | LinkPlugin |
| Auto Link | Auto detect links in the text | AutoLinkPlugin | |
| Auto Focus | Automatically focus the editor on page load | AutoFocusPlugin | |
| Collaboration | Enable collaborative editing. It replaces the SharedHistoryPLugin. Requires a collaboration server | CollaborationPlugin | |
| Image | Add image support | ImagePlugin | |
| Caption History | Enables undo / redo for image caption | CaptionEditorHistoryPlugin | ImagePlugin |
| Caption Collaboration | Enable collaborative editing for image caption. Replaces CaptionEditorHistoryPlugin | CaptionEditorCollaborationPlugin | ImagePlugin |
| Code Block | Enable code blocks | CodeHighlightPlugin | |
| Code Block Actions | Enable copy and prettier actions for code blocks | CodeActionMenuPlugin | CodeHighlightPlugin |
| Keyword | Auto formatting given keywords | KeywordPlugin | |
| Hashtag | Formatting for tags that begin with # | HashtagPlugin | |
| Markdown Shortcut | Enable markdown shortcuts | MarkdownShortcutPlugin | Depends on the transformers used |
| Tree View | Shows developer tools | TreeViewPlugin | |
| Column Layout | Arrange content in horizontally in columns | ColumnLayoutPlugin | |
| Table | Enable Html Table support | TablePlugin | |
| Table Hover Action | Show buttons for adding rows and columns when the hovering over the last row or column | TableHoverActionPlugin | TablePlugin |
| Table Action Menu | Show a button in the focused cell to open Action Menu (add, delete, merge, cell color etc.) | TableActionMenuPlugin | TablePlugin |
| Table Cell Resizer | Show a resizer to resize the columns and rows | TableCellResizerPlugin | TablePlugin |
| YouTube | Add YouTube support | YoutubePlugin | |
| Add Twitter/X post support | TwitterPlugin | ||
| Bluesky | Add Bluesky post support | BlueskyPlugin | |
| OnChange | Listen to editor content changes | OnChangePlugin | |
| Tab Indentation | Enable tab key for indentation | TabIndentationPlugin |