WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#25602 closed defect (bug) (invalid)

RTE Editors Strips Out Attributes

Reported by: cpoteet Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.6
Component: Editor Keywords:
Focuses: Cc:
PR Number:

Description

For instance, trying to add this following doesn't work.

<ol>
<li start="5"></li>
</ol>

Change History (4)

#1 @cpoteet
6 years ago

Sorry the start attribute goes on the ol. I seem to get intermittent success. Going to close.

Last edited 6 years ago by cpoteet (previous) (diff)

#2 @cpoteet
6 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#3 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review deleted

This doesn't work for me in trunk when switching from Text to Visual mode and back:

<ol start="5">
	<li></li>
</ol>

Looks like TinyMCE strips empty lists or list items. This, however, does work:

<ol start="5">
	<li>test</li>
</ol>

#4 @SergeyBiryukov
6 years ago

  • Version changed from trunk to 3.6
Note: See TracTickets for help on using tickets.