WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 5 months ago

#41945 new defect (bug)

Html Preview Bug in Content Editor

Reported by: deepakvijayan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.2
Component: TinyMCE Keywords: reporter-feedback
Focuses: Cc:

Description

Add a page -> In TinyMCE ( text tab ) -> add an h1 , put a span element with some text inside the h1, update/save. go to Visual tab, come back to text tab, span will be invisible inside h1 tag, refresh page and span will be visible again.

Change History (1)

#1 @azaozz
5 months ago

  • Keywords reporter-feedback added

Hi @deepakvijayan, not sure if I'm following the steps to reproduce exactly right:

  • Added <h1><span class="test">test</span></h1> in the Text tab.
  • Saved the post.
  • Switched to Visual.
  • Switched back to Text.

At this point I can still see the exact HTML I added in the first place. Seems everything is working properly.

Note: See TracTickets for help on using tickets.