#13711 closed Bug (invalid)
<p> </p> inserted unexpectedly
Reported by: | moriya9n | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- download ckeditor_4.5.1_full and expand
- set config.js as follows:
CKEDITOR.editorConfig = function( config ) {
config.allowedContent = true;
};
- open index.html
- change source view (push source button)
- delete all text
- insert following text
<marquee>test</marquee>
- change html view (push source button)
- change source view (push source button)
- :
Expected result
<p> </p> are not expected
Actual result
<p> </p> are inserted unexpectedly
Other details (browser, OS, CKEditor version, installed plugins)
ie 11.0.9600.17959 (japanese) os window 7 professional service pack 1 ckeditor_4.5.1_full no plugins installed
Change History (3)
comment:1 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.5.3 |
comment:2 Changed 9 years ago by
Any invalid HTML tag with allowedContent = true settings looks to keep generating <p> </p>. Is it OK?
comment:3 Changed 9 years ago by
There's no rule what invalid tag may or may not generate. Invalid tag is invalid, so whatever happens is reasonable (well... except crashing and losing data).
There's no marquee element in HTML anymore. If you want to use it, then you need to extend CKEditor's DTD (CKEDITOR.DTD) so CKEditor understands what is it that element and where it can be placed.