From 0fde1c196dda45c50c15ea0e6bafeabfecbb2eb3 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Sun, 1 Oct 2023 23:55:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/plate/plate-plugins.ts | 7 ------- 1 file changed, 7 deletions(-) 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(),