github udecode/plate @udecode/plate-ai@49.0.0

latest releases: @platejs/dnd@49.2.22, @platejs/core@49.2.21, @platejs/slate@49.2.21...
2 months ago

Major Changes

  • #4327 by @zbeyens

    • Copilot API method changes:
      • editor.api.copilot.accept is now editor.tf.copilot.accept.
      • editor.api.copilot.acceptNextWord is now editor.tf.copilot.acceptNextWord.
      • editor.api.copilot.reset is now editor.api.copilot.reject.
    • Removed Default Shortcuts for Copilot:
      • Only accept (Tab) and reject (Escape) shortcuts are included by default for CopilotPlugin.
      • acceptNextWord and triggerSuggestion shortcuts must now be configured manually using the shortcuts field when configuring the plugin.
      • Example:
        CopilotPlugin.configure({
          // ... other options
          shortcuts: {
            acceptNextWord: {
              keys: 'mod+right',
            },
            triggerSuggestion: {
              keys: 'ctrl+space',
            },
          },
        });
  • #4327 by @zbeyens

    • Renamed all @udecode/plate-* packages to @platejs/*. Replace @udecode/plate- with @platejs/ in your code.

Don't miss a new plate release

NewReleases is sending notifications on new releases.