WordPress.org

Ready to get started?Download WordPress

Forums

Editor Stripping Code that Was Previously Ok to Use (1 post)

  1. Diesel12
    Member
    Posted 3 years ago #

    Noticing that in the last update or two certain code that used to be left untouched is being stripped when switching back between the visual / html modes. Turning off the visual editor is not an option for our users which depend on it.

    Anyone have any ideas on how can we implement the following code without it getting completely deleted?

    <div class="button_1">&nbsp;</div>
    
    or
    
    <p class="button_1">&nbsp;</p>

    We're also noticing that breaks are being replaced with non-breaking spaces ....

    <br /> becomesĀ &nbsp;

    Any feedback greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.