javascript - Inline editing TD with CKEditor in IE10 -
i can make td inline editable ckeditor using this:
ckeditor.dtd.$editable.td = 1 ckeditor.inline('td_id'); it works in firefox , chrome. in ie10 toolbar appears when click td, text cursor doesn't. it's not possible edit.
i know td not supported ckeditor. hacks anyone?
as hack... how wrapping content edited, unwrapping during save? untested jquery dependant code:
var td = $('#td_id'); td.html('<div id="blargh">' + td.html() + '</div>'); ckeditor.inline('blargh'); // magic , when prior saving var blarg = $('#blargh'); blarg.parent().html(blarg.html());
Comments
Post a Comment