tinyMCE paragraph block name
-
Hello
For my current project, I allow only a few blocks of the Gutenberg editor with this function :
function function_allowed_block_types( $allowed_block_types, $post ) { return array( 'core/paragraph', 'core/image', 'core/heading', 'core/gallery', 'core/list', 'core-embed/twitter', ); } add_filter( 'allowed_block_types', 'function_allowed_block_types', 10, 2 );
The TinyMCE plugin is now enabled and configured to override the classic paragraph block, but it no longer displays. I would need the name of the block in order to add it to the permissions.
I tried adding
tinymce/classic-paragraph
but it doesn’t work.Have you already done this manipulation and do you have the name of the block?
Thank you in advance
Have a nice day.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘tinyMCE paragraph block name’ is closed to new replies.