Major Changes
-
- Copilot API method changes:
editor.api.copilot.accept
is noweditor.tf.copilot.accept
.editor.api.copilot.acceptNextWord
is noweditor.tf.copilot.acceptNextWord
.editor.api.copilot.reset
is noweditor.api.copilot.reject
.
- Removed Default Shortcuts for Copilot:
- Only
accept
(Tab) andreject
(Escape) shortcuts are included by default forCopilotPlugin
. acceptNextWord
andtriggerSuggestion
shortcuts must now be configured manually using theshortcuts
field when configuring the plugin.- Example:
CopilotPlugin.configure({ // ... other options shortcuts: { acceptNextWord: { keys: 'mod+right', }, triggerSuggestion: { keys: 'ctrl+space', }, }, });
- Only
- Copilot API method changes:
-
- Renamed all
@udecode/plate-*
packages to@platejs/*
. Replace@udecode/plate-
with@platejs/
in your code.
- Renamed all