samedi 31 mai 2014

CKEditor's autogrow event not firing


Vote count:

0




I am using CKEditor 4.4.1 built using the builder on the website with the autogrow plugin in inline mode.


CKEDITOR.disableAutoInline is set to true. CKEDITOR.config.autoGrow_onStartup is also set to true.


I then proceed to inline a contenteditable like so:



var editor = Y.one('...'); //Get the contenteditable using YUI.

var ckEditor = CKEDITOR.inline(editor.getDOMNode());

ckEditor.on('instanceReady', function(e){
console.log(e);
}, this);

ckEditor.on('autogrow', function(e){
console.log(e);
});


I can confirm that the autogrow works properly and the inlined contenteditable expands when required. The instanceReady event also fires.


However, the autogrow event never fires when the contenteditable expands or shrinks.


What could be causing this problem?



asked 19 secs ago

F21

7,045





Aucun commentaire:

Enregistrer un commentaire