WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 3 months ago

#41945 closed defect (bug) (invalid)

Html Preview Bug in Content Editor

Reported by: deepakvijayan Owned by:
Milestone: 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 (2)

#1 @azaozz
20 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.

#2 @azaozz
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

No response in quite a while. Considering this works as expected.

Note: See TracTickets for help on using tickets.