Releases: udecode/plate
Releases · udecode/plate
@platejs/selection@52.0.16
Patch Changes
-
#4799 by @felixfeng33 –
-
Added
disableSelectAlloption to BlockSelectionPlugin. Set totrueto disable the plugin's custom selectAll (Cmd+A) behavior and use the editor's default behavior instead.BlockSelectionPlugin.configure({ options: { disableSelectAll: true }, });
-
@platejs/ai@52.0.16
@platejs/ai@52.0.16
platejs@52.0.15
platejs@52.0.15
@platejs/utils@52.0.15
@platejs/utils@52.0.15
@platejs/slash-command@52.0.15
@platejs/slash-command@52.0.15
@platejs/mention@52.0.15
@platejs/mention@52.0.15
@platejs/emoji@52.0.15
@platejs/emoji@52.0.15
@platejs/core@52.0.15
Patch Changes
-
#4792 by @felixfeng33 – Add
userIdoption to editor for collaborative features- Add
userIdoption tousePlateEditor/createSlateEditoroptions - Add
editor.meta.userIdfor accessing the current user ID - Breaking: Remove
getUserIdoption fromTriggerComboboxPluginOptions. Useeditor.meta.userIdinstead.
Migration:
// Before MentionPlugin.configure({ options: { getUserId: (editor) => "123", }, }); // After const editor = usePlateEditor({ plugins: [MentionPlugin], userId: "123", });
- Add
@platejs/combobox@52.0.15
Patch Changes
-
#4792 by @felixfeng33 – Add
userIdoption to editor for collaborative features- Add
userIdoption tousePlateEditor/createSlateEditoroptions - Add
editor.meta.userIdfor accessing the current user ID - Breaking: Remove
getUserIdoption fromTriggerComboboxPluginOptions. Useeditor.meta.userIdinstead.
Migration:
// Before MentionPlugin.configure({ options: { getUserId: (editor) => "123", }, }); // After const editor = usePlateEditor({ plugins: [MentionPlugin], userId: "123", });
- Add
@platejs/yjs@52.0.13
Patch Changes
-
#4762 by @felixfeng33 – Add
userIdoption to YjsPlugin for combobox collaboration supportYjsPlugin.configure({ options: { userId: user?.id, }, });