github udecode/plate @platejs/combobox@52.0.15

latest releases: @platejs/emoji@52.0.15, @platejs/utils@52.0.15, @platejs/core@52.0.15...
one day ago

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",
    });

Don't miss a new plate release

NewReleases is sending notifications on new releases.