Skip to content

Releases: udecode/plate

@platejs/selection@52.0.16

20 Dec 14:48
aacb21c

Choose a tag to compare

Patch Changes

  • #4799 by @felixfeng33

    • Added disableSelectAll option to BlockSelectionPlugin. Set to true to 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

20 Dec 14:48
aacb21c

Choose a tag to compare

@platejs/ai@52.0.16

platejs@52.0.15

15 Dec 07:14
31603b0

Choose a tag to compare

platejs@52.0.15

@platejs/utils@52.0.15

15 Dec 07:14
31603b0

Choose a tag to compare

@platejs/utils@52.0.15

@platejs/slash-command@52.0.15

15 Dec 07:14
31603b0

Choose a tag to compare

@platejs/slash-command@52.0.15

@platejs/mention@52.0.15

15 Dec 07:14
31603b0

Choose a tag to compare

@platejs/mention@52.0.15

@platejs/emoji@52.0.15

15 Dec 07:14
31603b0

Choose a tag to compare

@platejs/emoji@52.0.15

@platejs/core@52.0.15

15 Dec 07:14
31603b0

Choose a tag to compare

Patch Changes

  • #4792 by @felixfeng33 – Add userId option to editor for collaborative features

    • Add userId option to usePlateEditor/createSlateEditor options
    • Add editor.meta.userId for accessing the current user ID
    • Breaking: Remove getUserId option from TriggerComboboxPluginOptions. Use editor.meta.userId instead.

    Migration:

    // Before
    MentionPlugin.configure({
      options: {
        getUserId: (editor) => "123",
      },
    });
    
    // After
    const editor = usePlateEditor({
      plugins: [MentionPlugin],
      userId: "123",
    });

@platejs/combobox@52.0.15

15 Dec 07:13
31603b0

Choose a tag to compare

Patch Changes

  • #4792 by @felixfeng33 – Add userId option to editor for collaborative features

    • Add userId option to usePlateEditor/createSlateEditor options
    • Add editor.meta.userId for accessing the current user ID
    • Breaking: Remove getUserId option from TriggerComboboxPluginOptions. Use editor.meta.userId instead.

    Migration:

    // Before
    MentionPlugin.configure({
      options: {
        getUserId: (editor) => "123",
      },
    });
    
    // After
    const editor = usePlateEditor({
      plugins: [MentionPlugin],
      userId: "123",
    });

@platejs/yjs@52.0.13

14 Dec 03:14
5b222c1

Choose a tag to compare

Patch Changes

  • #4762 by @felixfeng33 – Add userId option to YjsPlugin for combobox collaboration support

    YjsPlugin.configure({
      options: {
        userId: user?.id,
      },
    });