From e876dd1ca8d0b02e09301f1faa8903c4d63b1995 Mon Sep 17 00:00:00 2001 From: Steve Ross Date: Sun, 4 Jan 2026 17:59:40 +0000 Subject: [PATCH] article block : add wysiwyg class to container --- resources/views/blocks/article/index.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/blocks/article/index.jsx b/resources/views/blocks/article/index.jsx index ea6937e..929738b 100644 --- a/resources/views/blocks/article/index.jsx +++ b/resources/views/blocks/article/index.jsx @@ -9,7 +9,7 @@ import { InnerBlocks, } from '@wordpress/block-editor'; -import allowedBlocks from '../../../json/core-block-whitelist.json'; +import allowedBlocks from '../../../json/block-core-whitelist.json'; import { containerClassNames, sectionClassNames } from '../../../js/blocks/lib/classNames'; import BackgroundImage from '../../../js/blocks/components/BackgroundImage'; import BlockSettings from '../../../js/blocks/components/BlockSettings'; @@ -17,7 +17,7 @@ import BlockSettings from '../../../js/blocks/components/BlockSettings'; registerBlockType(metadata.name, { edit({ attributes, setAttributes }) { const blockProps = useBlockProps(); - blockProps.className = sectionClassNames(attributes, blockProps.className, [ 'wysiwyg' ]).join(' '); + blockProps.className = sectionClassNames(attributes, blockProps.className).join(' '); return (
@@ -26,7 +26,7 @@ registerBlockType(metadata.name, { setAttributes={ setAttributes } /> -
+
-
+