• Hey everyone, have had some recent issues with the Visual page editor changing views to the HTML view. I’ll build a page in visual mode and make several updates when needed, and sometimes without any type of error, after I update the page, it changes views to the html view even though the visual tab is selected. Is there any way to correct this issue? Does some type of formatting change somewhere that I can check? It does not happen to all pages. It only happens every so often.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?

    increasing your available memory?

    ykessler

    (@ykessler)

    This is STILL a problem in 3.1! I have visual editing disabled, and yet all my html comments get wrapped in <p> tags.

    mattguevara

    (@mattguevara)

    I’m having the same issue! I’ve tried everything I can think of.

    ykessler

    (@ykessler)

    This StackOverflow answer has a solution

    In short, use remove_filter('the_content', 'wpautop'); in your functions.php file to disable auto formatting of post content. You can also use the Raw HTML plugin to selectively strip auto-formatting.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Visual page editor changes to html view’ is closed to new replies.