|
|
@ -778,13 +778,13 @@ define([
|
|
|
|
});
|
|
|
|
});
|
|
|
|
editor.on('instanceReady', waitFor());
|
|
|
|
editor.on('instanceReady', waitFor());
|
|
|
|
}).nThen(function (/*waitFor*/) {
|
|
|
|
}).nThen(function (/*waitFor*/) {
|
|
|
|
if (Ckeditor.env.safari) {
|
|
|
|
/*if (Ckeditor.env.safari) {
|
|
|
|
var fixIframe = function () {
|
|
|
|
var fixIframe = function () {
|
|
|
|
$('iframe.cke_wysiwyg_frame').height($('#cke_1_contents').height());
|
|
|
|
$('iframe.cke_wysiwyg_frame').height($('#cke_1_contents').height());
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$(window).resize(fixIframe);
|
|
|
|
$(window).resize(fixIframe);
|
|
|
|
fixIframe();
|
|
|
|
fixIframe();
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
Links.addSupportForOpeningLinksInNewTab(Ckeditor)({editor: editor});
|
|
|
|
Links.addSupportForOpeningLinksInNewTab(Ckeditor)({editor: editor});
|
|
|
|
Cryptpad.onError(function (info) {
|
|
|
|
Cryptpad.onError(function (info) {
|
|
|
|
if (info && info.type === "store") {
|
|
|
|
if (info && info.type === "store") {
|
|
|
|