Major Changes
-
- The following plugins now default to
editOnly: true
. This means their core functionalities (handlers, rendering injections, etc.) will be disabled when the editor is in read-only mode. To override this behavior for a specific plugin, configure itseditOnly
field. For example,SomePlugin.configure({ editOnly: false })
.
- The following plugins now default to
-
- Package
@udecode/plate-trailing-block
has been deprecated. - Its functionality (e.g.,
TrailingBlockPlugin
) has been moved to@platejs/utils
(which is re-exported viaplatejs
). - Migration:
- Remove
@udecode/plate-trailing-block
from your dependencies. - Update import paths to use
platejs
(e.g.,import { TrailingBlockPlugin } from 'platejs';
).
- Remove
- Package