- IT 관련
- asp.net mvc
Ckeditor 에서 firefox 환경에 엔터 치면 두칸 나오는 부분.. 본문
Ckeditor 에서 firefox 환경에 엔터 치면 두칸 나오는 부분..재우니 2014. 4. 10. 18:45
Ckeditor 에서 firefox 환경에 엔터 치면 두칸 나오는 부분..
사실 iframe 이나 frameset 안에 해당 페이지의 에디터가 뜨면 이것도 엔터 치면 한칸 나올지는 모르겠다. 지금 안에 있어서 두칸 나온다고 하는데… 흠..
ck editor in iframe in firefox inserts two line breaks and a nbsp on enter
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
comment:1 Changed 8 months ago by j.swiderski
- Status changed from new to confirmed
- Version changed from 4.1.2 to 4.0
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.
comment:2 Changed 7 months ago by pellakal
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:3 Changed 6 months ago by fharmsen
Same problem here
comment:4 Changed 6 months ago by j.swiderski
A concern about fixing this issue was raised on our support channel.
comment:5 Changed 6 months ago by j.swiderski
NOTE: I have checked this problem on native iframes and only single line-break occurs there.