Fix print in ckeditor with firefox

pull/1/head
yflory 5 years ago
parent b0af6b5488
commit 6f1b04ca57

@ -979,6 +979,13 @@ define([
editor.on('instanceReady', waitFor());
}).nThen(function() {
var _getPath = Ckeditor.plugins.getPath;
Ckeditor.plugins.getPath = function (name) {
if (name === 'preview') {
return window.location.origin + "/bower_components/ckeditor/plugins/preview/";
}
return _getPath(name);
};
editor.plugins.mediatag.import = function($mt) {
framework._.sfCommon.importMediaTag($mt);
};
@ -1070,4 +1077,4 @@ define([
});
};
main();
});
});

Loading…
Cancel
Save