• I noticed that sometimes the Visual editor and the Syntax highlighter box appear both at the same time. I tracked down the issue and I found it depends on the fact that newly created users do not have the usermeta wp_user-settings set in the DB, and as a consequence they do not have the cookie named wp-settings-XX (where XX is the user ID) with the value editor=tinymce. This causes the Syntax Highlighter to appear together with the visual editor (I suppose it uses the wrong default when the cookie is missing).

    https://wordpress.org/plugins/html-editor-syntax-highlighter/

Viewing 1 replies (of 1 total)
  • Thread Starter Marco Chiesi

    (@marcochiesi)

    P.S. The problem disappear as soon the user clicks on the “Visual” tab, which trigger the setting of the cookie.

Viewing 1 replies (of 1 total)
  • The topic ‘Visual editor and Syntax highlighter box shown at the same time’ is closed to new replies.