Support

Account

Home Forums Backend Issues (wp-admin) WYSIWYG always defaults to text mode Reply To: WYSIWYG always defaults to text mode

  • I did some testing on and I cannot recreate it.

    What editor is shown is determined by the last action a user takes in a wysiwyg field, any field. WP, not ACF stores a value on the last selection, visual or text and the next time the editor is loaded all of the wysiwyg fields will be set to this tab.

    I do not know how or where this value is stored by WP, but you can see it in action on an user where it is working correctly. Open any post, change the mode of any wysiwyg editor, wait a second or 2 and reload the page, all editors should not be in the last mode selected.

    Further testing shows that this selection is stored somewhere and is not related to a cookie value. Clearing cookies for the site doe not effect it. Again, looking for how this is stored I can find nothing. I did find this https://wordpress.stackexchange.com/questions/41412/rich-text-editor-settings-persist-throughout-all-rich-text-editors however, I do not see the meta value in the DB changing.

    The only thing that I can think of is the there is a filter on the WP hook user_can_richedit that is returning false for this user type.