Liveblocks 3.19.0
Neuer Helper markdownToCommentBody in @liveblocks/node, room.history.disable(fn) ist nun offiziell unterstützt, und in @liveblocks/react-tiptap wurden Fehler beim Strikethrough-Shortcut und bei Yjs Undo/Redo behoben.
@liveblocks/node
- Add new
markdownToCommentBodyhelper to convert Markdown strings intoCommentBodyobjects.
@liveblocks/client
room.history.disable(fn)is now officially supported and no longer experimental. It allows running storage mutations without them appearing on the undo/redo stacks and it’s intended for background/async writes (e.g. writing back AI generation results) that should not be undoable.
@liveblocks/react-tiptap
- Fix keyboard shortcut in strikethrough tooltip. (Thanks @HellBoy-OP for the contribution!)
- Fix Yjs undo/redo silently breaking after
editor.registerPlugin/unregisterPluginis called (e.g. when Tiptap'sBubbleMenu,DragHandle, orSlashCommandmount). The reattachrestore()is now installed unconditionally on view destroy, matching upstream@tiptap/extension-collaboration. (Thanks @lucasmotta for the contribution!)