Make visual editor the default
-
I don’t know if this is because we’ve updated to php 8 or whether it’s a WP update but the text editor has become the default, and keeps switching from the visual editor when editing and updating. We are using classic.
The code often cited as setting the default now gives an error when added to the theme file editor as create_function is removed in php 8:add_filter( 'wp_default_editor', create_function('', 'return "tinymce";'));Is there a php 8 version of this? (I’m not much use at php!) – or some other solution to set the visual editor as the default?
Thanks!The page I need help with: [log in to see the link]
The topic ‘Make visual editor the default’ is closed to new replies.