To reproduce:
1. Use below code in replaebycode sample
{{{
CKEDITOR.replace( 'editor1', {
extraPlugins : 'en_nbsp'
});
}}}
2. Copy attached plugin folder for v4 and paste it into plugins folder.
3. 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.
--
Ticket URL: <http://dev.ckeditor.com/ticket/10453>
CKEditor <http://ckeditor.com/>
The text editor for the Internet
* status: new => confirmed
--
Ticket URL: <http://dev.ckeditor.com/ticket/10453#comment:1>
* status: confirmed => closed
* resolution: => invalid
Comment:
The en_nbsp plugin from v4 works for me perfectly fine on FF and Chrome
after one change - there should be:
{{{
ev.data.preventDefault();
}}}
Version from v3.zip works too after removing:
{{{
requires : [ 'keystrokes' ],
}}}
There's no such plugin in v4.
--
Ticket URL: <http://dev.ckeditor.com/ticket/10453#comment:2>
Comment (by j.swiderski):
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.
--
Ticket URL: <http://dev.ckeditor.com/ticket/10453#comment:3>