#11752 closed Bug (invalid)
Editor removes [type] attribute on <ol>
Reported by: | Danil | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Lists | Version: | |
Keywords: | Cc: |
Description
Type in source mode:
<ol type="a"> <li>abc</li> </ol>
Editor forbids type attribute. This is incorrect behavior. See http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-type
Additionally, "liststyle" plugin sets css property "list-style-type" instead of "type" attribute. I think this needs to be discussed.
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.3.5 (GitHub - master) |
Please try extraAllowedContent : 'ol[type]'
- http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent.
comment:3 Changed 11 years ago by
Thanks, this works. But is any reason to remove this attribute by default? This causes problems, but I don't see any profit.
It looks like this is caused by ACF. Could anybody point me where to allow forbidden [type] attribute in source code?