github udecode/plate @platejs/combobox@52.0.13

latest releases: @platejs/slash-command@52.0.14, @platejs/combobox@52.0.14, @platejs/emoji@52.0.14...
12 hours ago

Patch Changes

  • #4762 by @felixfeng33 – Add getUserId option to TriggerComboboxPluginOptions to fix combobox popover opening for all users in Yjs collaboration mode

    When a user types a trigger character (e.g. / or @), the combobox input now stores the creator's userId. Only the creator will see the auto-focused combobox popover.

    SlashPlugin.configure({
      options: {
        getUserId: (editor) => editor.getOption(YjsPlugin, "userId"),
      },
    });
    
    MentionPlugin.configure({
      options: {
        getUserId: (editor) => editor.getOption(YjsPlugin, "userId"),
      },
    });

Don't miss a new plate release

NewReleases is sending notifications on new releases.