What is volto-slate
mainvolto-slate is an interactive text editor for Volto built on top of the Slate framework. It serves as the default text block in Volto (added in version 16.0.0-alpha.15) and provides enhanced WYSIWYG functionality with deep integration into the Volto block system.
Key features include:
- Smart Pasting: Pasting complex documents into a
volto-slateblock automatically converts elements into native Volto blocks (e.g., images become Volto image blocks, tables become Volto table blocks). - Drag-and-Drop: Supports dragging images directly into the text block to trigger uploads as Volto image blocks.
- Block Conversion: Includes UI elements like a
Tablebutton that creates actual Volto table blocks rather than just inline HTML tables.
Note on Deprecation: The previous text text block based on Draft.js is deprecated and scheduled for removal in Volto 18. If you are using the old text block, you should refer to the Volto Upgrade Guide to migrate to volto-slate.