[6.0.2] - 2026-03-16
Fixed
- Marks in Table plugin: Fixed bold, italic, underline, and other marks not toggling inside table cells. Removed
Range.isExpandedguard from the editor'sonKeyDownhandler so mark hotkeys work with both collapsed and expanded selections. (#592) - Multi-block mark undo: Applying marks (bold, italic, highlight, etc.) across multiple selected blocks now undoes in a single Cmd+Z step instead of block-by-block. Wrapped
toggle,addMark,removeMark, andupdatemulti-block loops ineditor.batchOperations(). (#592) - Video/Embed inline toolbar not showing: Fixed inline toolbar not appearing for video and embed blocks. Replaced Rnd callback ref with a regular div ref (same pattern as image) so the floating toolbar reference is available on mount. (#592)
- Resize handles visibility on dark content: Changed resize handle styling for image, video, and embed from
bg-primaryto white handles with border and drop shadow (bg-white border border-border shadow-[0_0_4px_rgba(0,0,0,0.3)]) for consistent visibility on any background. (#592) - Placeholder support for nested plugins: Fixed placeholders not showing in nested plugin elements (e.g., Steps).
decoratenow resolves placeholder from the closest parent element instead of only the root element. (#592)
Changed
- Media resize defaults: Removed hardcoded
650px/550pxdefault sizes from image, embed, and video render components in shadcn theme. Max sizes now derive from actual editor container width viaResizeObserver, with no artificial limits. (#592)
Added
- Placeholder documentation: Added comprehensive Placeholders section to
docs/core/editor.mdxcovering editor-level, element-level, nested plugin, and CSS styling. Updateddocs/core/plugins.mdxwith extended placeholder field docs and cross-references. (#592)