Support

Account

Home Forums Bug Reports WYSIWYG – Block Editor Check

Helping

WYSIWYG – Block Editor Check

  • Hello,

    I’ve run into an issue with the WYSIWYG Editor not displaying/functioning properly on Frontend Forms. The error comes back to the acf_is_block_editor() method in /includes/api/api-helpers.php LN4835. While get_current_screen() function may exist it does not always return an object. I think the following needs updated:

    $screen = get_current_screen();
    if( null !== $screen && method_exists( $screen, 'is_block_editor' ) ) {
    	return $screen->is_block_editor();
    }
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.