Opened 9 years ago
Last modified 9 years ago
#14346 confirmed Bug
native Browser Spellchecking not working when pressing return without space
Reported by: | Andreas Soroko | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.6 |
Keywords: | spellcheck firefox return space | Cc: |
Description
Steps to reproduce
- Download basic package of ckeditor 4.5.6
- Download firefox 43.0.4
- Enable spellchecking in firefox
- modify config.js and add "config.disableNativeSpellChecker = false;"
- open samples/index.html
- Add some text like "ABCDEFGHIJK" and press return
Expected result
The word "ABCDEFGHIJK" will be underlined red
Actual result
In Firefox 43.0.4 the red underlining only appears if you press space, tab or any other key expect return In Chrome 48.0.2564.82 m it works as expected.
Other details (browser, OS, CKEditor version, installed plugins)
Windows 10 (but I think it is os independent) CKEDITOR 4.5.6 Basic package none special plugin
Further Information
I assume this is a ckeditor problem because I tested the behaviour of firefox with the attached file and it works just great. I think when pressing return in firefox the keystroke is not reaching firefox.
If you need any further information, please ask
Attachments (3)
Change History (6)
Changed 9 years ago by
Attachment: | iframe.html added |
---|
Changed 9 years ago by
Attachment: | index.html added |
---|
comment:1 Changed 9 years ago by
Keywords: | spellcheck firefox return space added |
---|
Changed 9 years ago by
Attachment: | plugin_enterkey_plugin.js added |
---|
Modified enterkey plugin which works
comment:3 Changed 9 years ago by
Status: | new → confirmed |
---|
It actually happens also in Chrome:
- Add some text like "ABCDEFGHIJK" and press return
- Text has red underline
- Press backspace 2 times (caret gets back to previous line and K gets deleted)
- Red underline disappears after deleting last character
If you press space, red underline will appear but if you press return instead, there will be no underline like in a previous case.
With enterkey plugin disabled, issue doesn't occur so as mentioned above it is connected to this plugin.
Tested in Firefox 43.0.4 and Chrome 47.0.2526.106 (64-bit), Ubuntu.
One further Information: I did tested the described behaviour in source code and disabled the "enterkey" plugin. After disabling it the spellchecking behaviour is as expected.
I also played around with the enterkey plugin itself. When adding:
in the enterBlock function everything works, but of course this is a very dirty solution. Any other ideas?