#13163 closed Bug (invalid)
[Firefox] Space typed at the end of paragraph is not returned by editor.getData()
Reported by: | Inga | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0.2 |
Keywords: | Firefox IBM | Cc: | Satya Minnekanti |
Description
This is only reproducible on FF. Steps to reproduce:
- Go to http://nightly.ckeditor.com/15-04-10-06-08/full/samples/replacebyclass.html
- In the console type: CKEDITOR.instances.editor1.editable().on('keyup', function(){console.log(CKEDITOR.instances.editor1.getData())})
- Start typing in the editor -> You can see in the console that the first space after some text is ignored and not inserted in the Editor
Change History (7)
comment:1 Changed 10 years ago by
Keywords: | Firefox added |
---|---|
Status: | new → confirmed |
Version: | 4.4.7 → 3.0.2 |
comment:2 Changed 10 years ago by
This is a DUP of some older issues. Basically, browser engines are cheating - it inserts a normal space but shows it as a nbsp.
comment:3 Changed 10 years ago by
Keywords: | IBM added |
---|
comment:5 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | confirmed → closed |
No. #9978 is just about a keystroke, although I haven't read the whole discussion. I've looked for the DUP too and I found #12606. It is closed as invalid and in my opinion it makes sense. As you explained there, it works differently in Chrome and in FF and IE8-11. Both ways have their own problems, but I think that the Gecko way generates less problems. Touching this would be very risky. And most importantly:
- the space is visible,
- it happens only at the end of blocks.
BTW. There's also #7136 where I explained what's the general problem.
comment:6 Changed 9 years ago by
Summary: | FF: When the remaining characters counter appears space is not causing the counter to decrease → [FF] When the remaining characters counter appears, space is not causing the counter to decrease |
---|
comment:7 Changed 9 years ago by
Summary: | [FF] When the remaining characters counter appears, space is not causing the counter to decrease → [Firefox] Space typed at the end of paragraph is not returned by editor.getData() |
---|
I have been able to reproduce this problem from CKEditor 3.0.2 in Firefox and IE8-11.