diff --git a/lib/experimental/disable-tinymce.php b/lib/experimental/disable-tinymce.php index cfe716d834ff78..ff9185cff567dd 100644 --- a/lib/experimental/disable-tinymce.php +++ b/lib/experimental/disable-tinymce.php @@ -87,7 +87,8 @@ function_exists( 'use_block_editor_for_post_type' ) && $parsed_blocks = parse_blocks( $content ); foreach ( $parsed_blocks as $block ) { - if ( empty( $block['blockName'] ) && strlen( trim( $block['innerHTML'] ) ) > 0 ) { + $is_freeform_block = empty( $block['blockName'] ) || 'core/freeform' === $block['blockName']; + if ( $is_freeform_block && strlen( trim( $block['innerHTML'] ) ) > 0 ) { return true; } }