Editor defaults to Text and not Visual after latest update

Posted in: Newspaper
Post count: 9

Hi guys

I’m not 100% sure this is a theme issue, but I feel quite confident it is.

Since the latest update to WP 4.1, Newspaper 4.6 and VC 4.3.5, the editor constantly pops over to Text mode instead of Visual mode. Quite frustrating.

Even when swapping back to Visual and then saving an article, it returns to Text mode after save is completed.

Am I the only one with this issue or has anyone else experienced the same?

Same in Safari, Firefox and Chrome.

Post count: 9544

My editor always defaults to text/HTML view on the post page, which is what I prefer. Supposedly the “visual editor” is the default, but not for my installs for some reason – regardless of theme.

So, not really a theme issue … however there is a hook you can add to your functions.php to set the specific editor you want as default, e.g.,


add_filter( 'wp_default_editor', create_function('', 'return "html";') );
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
Post count: 9

Hi Chris
I tried to add the filter, but doesn’t seem to make a difference.
The odd thing is, that it only happened after the latest update.

Post count: 9
Post count: 9544

Be sure to clear all your web cache, reset CDN feed as applicable and do full cache clear on your web browser.

Also the code I provided was “example” — you need to obviously change that from 'return "html"; to whatever the visual editor directive is (sorry, don’t know what that is… see the WP Codex for info!).

Post count: 6600

Hi,

Thanks Chris!
@Keld Bendtsen
Adding this line: add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') ); ..to functions.php file like this: http://screencast.com/t/Fdx0665vgRg defaults the tinymce/visual editor on post editor.
I have also tested this and work fine using the latest theme version (4.6.1) so please make sure as Chris stated that you empty caches and purge files if you use CDN.

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.