Major Changes
-
-
CaptionPlugin
optionoptions.plugins
(accepting an array ofPlatePlugin
) has been renamed tooptions.query.allow
(accepting an array of plugin keys). -
Migration:
// Before CaptionPlugin.configure({ options: { plugins: [ImagePlugin], // ImagePlugin is an example }, }); // After CaptionPlugin.configure({ options: { query: { allow: [ImagePlugin.key], // Use the plugin's key }, }, });
-
-
- Renamed all
@udecode/plate-*
packages to@platejs/*
. Replace@udecode/plate-
with@platejs/
in your code.
- Renamed all