Hi,
I'm trying to globally change rules for all instances of CKEditor. In v2.x it was possible like this. Using CKEditor 3 I tried
CKEDITOR.on('instanceReady', function(e){ this.dataProcessor.writer.setRules( 'p', { indent : false, breakBeforeOpen : false, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : false }); });
but that doesn't work. It causes
TypeError: Result of expression 'this.dataProcessor' [undefined] is not an object.
So I was wondering. Do you know any way to change DataProcessor rules for all CKEdirotors?
Thanks,
Lukas
Re: Change dataProcessor rules for all CKEditors