Opened 11 years ago
Last modified 11 years ago
#10598 confirmed Bug
ck editor in iframe in firefox inserts two line breaks and a nbsp on enter
Reported by: | Stjepan Rajko | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Keystrokes | Version: | 4.0 |
Keywords: | Cc: |
Description
If you go to http://jsfiddle.net/r9HCt/ (which displays the ck editor demo page in an iframe), and hit enter inside of the editor, it will result in two line breaks and a space. The line breaks will be before the cursor, and the space will be after it.
Browsers other than Firefox don't seem to have the same problem (they only insert one line break). The demo page alone outside of the iframe works correctly on Firefox.
Tested on Firefox 22.0
Attachments (1)
Change History (6)
Changed 11 years ago by
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.1.2 → 4.0 |
comment:2 Changed 11 years ago by
I had the same problem as discribed, CKE on iframe (in my case it's a canvas App iframe on Facebook) in Mozilla inserts extra paragraph's and even extra <li> when using <ol> or <ul> tag. Is someone has an idea how to fix it?
comment:4 Changed 11 years ago by
A concern about fixing this issue was raised on our support channel.
comment:5 Changed 11 years ago by
NOTE: I have checked this problem on native iframes and only single line-break occurs there.
I was able to reproduce this with demo page and nightly version. I have tried local samples and didn't get this problem so it seems to only work with local editor. Problem can be reproduced from CKEditor 4.0.
Two paragraphs are inserted after cursor and BR is inserted before it.