Opened 16 years ago
Closed 16 years ago
#3665 closed Bug (invalid)
[IE] Output source code has extra
Reported by: | Garry Yao | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | Core : Output Data | Version: | |
Keywords: | IE Confirmed Review? | Cc: |
Description
Reproducing Procedures
- Open the replace by class example page in IE;
- Press 'Enter Key' to create a new paragraph;
- Switch to 'Source' mode;
- Expected Result:
<p> This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p> <p> </p>
- Actual Result:
<p> This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p> <p> </p>
- Expected Result:
Attachments (1)
Change History (4)
comment:1 Changed 16 years ago by
Status: | new → assigned |
---|
Changed 16 years ago by
Attachment: | 3665.patch added |
---|
comment:2 Changed 16 years ago by
Keywords: | Review? added |
---|
The patch is simply converting this:
<p> </p>
into
<p></p>
It's not a perfect solution because it has chance to conflict with user editing result, but seldom will user create a paragraph with such a pattern.
comment:3 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
I've just had a talk with Garry. This is actually not a bug - the is needed to make the <p> block visible outside of the editor.
This is created by IE on empty paragraph when retrieving through innerHTML, and it's definitely eval coz it change the original document editing experience.