[wp-trac] [WordPress Trac] #41183: Type attribute for <ol> is not supported in TinyMCE in WP 4.8
WordPress Trac
noreply at wordpress.org
Tue Jun 27 12:46:07 UTC 2017
#41183: Type attribute for <ol> is not supported in TinyMCE in WP 4.8
-----------------------------+------------------------------
Reporter: theideamechanic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.8
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by swissspidy):
Works without a problem here. The `type` attribute is allowed in
`$allowedposttags` and thus not stripped from the output or the visual
editor.
What you see might be theme-related. For example, Twenty Seventeen sets
`ol { list-style: decimal; }` in its CSS, which naturally overrides the
`type` attribute. Without that definition, the `type` attribute works as
expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41183#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list