#10453 closed Bug (invalid)
Keystrokes don't work for custom plugins
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Keystrokes | Version: | 4.0 Beta |
Keywords: | Cc: |
Description
This is the second time I encounter this problem. User has sent me his custom plugin for v3. I have changed it to work with v4 but for some reason keystroke checks that worked in v3 don't work anymore in v4.
To reproduce:
- Use below code in replaebycode sample
CKEDITOR.replace( 'editor1', { extraPlugins : 'en_nbsp' });
- Copy attached plugin folder for v4 and paste it into plugins folder.
- Load page and try to insert with Ctrl+space
Either I have missed something simple or there is a problem in editor. Any explanations are welcome.
NOTE: There is also feature #8619 - perhaps it could be implemented while fixing this one.
Attachments (2)
Change History (5)
Changed 12 years ago by
comment:1 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | confirmed → closed |
comment:3 Changed 12 years ago by
You are right I have added ev.data.preventDefault();
and it works perfectly.
I'm not sure why hasn't it worked before as even after removing this line spaces are still inserted.
I have uploaded working plugin sample for v4.
The en_nbsp plugin from v4 works for me perfectly fine on FF and Chrome after one change - there should be:
Version from v3.zip works too after removing:
There's no such plugin in v4.