diff --git a/templates/plate-playground-template/src/lib/plate/plate-plugins.ts b/templates/plate-playground-template/src/lib/plate/plate-plugins.ts index 3996361169..b291ef8420 100644 --- a/templates/plate-playground-template/src/lib/plate/plate-plugins.ts +++ b/templates/plate-playground-template/src/lib/plate/plate-plugins.ts @@ -166,12 +166,6 @@ const resetBlockTypesCodeBlockRule = { onReset: unwrapCodeBlock, }; -const a = createPlugins([ - createCaptionPlugin({ - options: { pluginKeys: [ELEMENT_IMAGE, ELEMENT_MEDIA_EMBED] }, - }), -]); - export const plugins = createPlugins( [ // Nodes @@ -182,7 +176,6 @@ export const plugins = createPlugins( createHorizontalRulePlugin(), createLinkPlugin({ renderAfterEditable: LinkFloatingToolbar as RenderAfterEditable, - }), createImagePlugin(), createMediaEmbedPlugin(),