Hey Rhuan,
As an hotfix replace this piece of code, paste this into the CKEditor.js of the CKEditorReactive Module.
if (ssInput[0]) {
//Update function, to trigger events
$('#' + ssInputId)[0].ckEditorUpdate = function () {
setTimeout(function () {
if (typeof CKEDITOR.instances[ssInputId] !== 'undefined' && CKEDITOR.instances[ssInputId].checkDirty()) {
var editor = CKEDITOR.instances[ssInputId];
$('#' + ssInputId).val(editor.getData());
editor.resetDirty();
$('#' + ssInputId).trigger('change');
}
}, 100);
};
var ckConfig = {};
if (ssConfig !== "{}") {
ckConfig = JSON.parse(ssConfig);
}
//Set some config values
ckConfig.language = ssLanguage;
ckConfig.uploadUrl = ckConfig.uploadUrl || '/CKEditorReactive/rest/api/Upload';
ckConfig.filebrowserUploadUrl = ckConfig.filebrowserUploadUrl || ckConfig.uploadUrl;
ckConfig.height = ssHeight;
ckConfig.on = {
saveSnapshot: $('#' + ssInputId)[0].ckEditorUpdate,
key: $('#' + ssInputId)[0].ckEditorUpdate,
afterCommandExec: $('#' + ssInputId)[0].ckEditorUpdate,
change: $('#' + ssInputId)[0].ckEditorUpdate
};
CKEDITOR.replace(ssInputId, ckConfig);
} else {
CKEDITOR.removeAllListeners();
delete CKEDITOR.instances[ssInputId];
console.error("Configured textarea element with id:" + ssInputId + " is not present on page.");
}
It's only the Orange part that needs replacement, i just put the entire function for safe measure.
Btw: thanks for the tip with the 1.0.6 version working, i just replaced the code with the older one.