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 (