#12055 closed Bug (invalid)
HTML5 support
Reported by: | Matti Järvinen | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : DTD | Version: | |
Keywords: | Cc: |
Description
With HTML source:
<article> <h1>Hi</h1> <p>Lipsum</p> </article>
Current nightly produces:
<h1>Hi</h1> <p>Lipsum</p>
Steps to reproduce:
- Change to source view
- Paste above HTML snippet
- Change back to WYSIWYG
- No more article tags
In #4556 [6988] initial HTML5 support was added. Did this work at all in any point or was it broken with ACF? core/dtd.js lists most of HTML5 elements including article.
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Adding link to the documentation http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
When editor starts, plugins report allowed content to it. Tag article is not allowed because there is no plugin for it. What you can do is using extraAllowedContent : 'article' and then it will work. You can also disable ACF but we don't recommend that unless you want to allow your users inserting every tag into editor.