Hi,
I don’t like working with the Visual Editor when editing posts, pages or text widgets in the Page Builder. This is because the Visual Editor strips HTML, which is very annoying when inserting Font Awesome icons, using <br>, etc.
When I disable the Visual Editor for my user, the “Open Text Editor” button on the Page Builder text widget doesn’t work – the popup doesn’t open.
I tried to set the Text (HTML) editor as default using this line of code in my functions.php:
add_filter( ‘wp_default_editor’, create_function(”, ‘return “html”;’) );
This works when creating new posts, but doesn’t work for the Page Builder text widget.
How can I fix this?
Thanks,
Yaniv