WordPress.org

Ready to get started?Download WordPress

Forums

How to stop removing br tags while switching from Visual to HTML editor (6 posts)

  1. s0what
    Member
    Posted 3 years ago #

    Please tell, how to remove this annoying feature :) disabling filters doesn't help

    remove_filter('the_content', 'wpautop');
    remove_filter('the_content', 'wptexturize');
  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 3 years ago #

    Hit the save or update button before switching modes

  3. s0what
    Member
    Posted 3 years ago #

    It is a solution, but it is a bit stupid to tell your client that he has to press Update every time :) tnx anyway

  4. s0what
    Member
    Posted 3 years ago #

    also onclick="" events are removed, damn!!! :(( it looks like the best solution is to disable visual editor at all.

  5. s0what
    Member
    Posted 3 years ago #

    hey guys, this is really important! Isn't there some plugin that could fix this?

  6. xhanch_studio
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags