github udecode/plate @udecode/plate-caption@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

    • CaptionPlugin option options.plugins (accepting an array of PlatePlugin) has been renamed to options.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
          },
        },
      });
  • #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.