|
|
@ -638,6 +638,12 @@ define([
|
|
|
|
if (!module.isMaximized) {
|
|
|
|
if (!module.isMaximized) {
|
|
|
|
editor.execCommand('maximize');
|
|
|
|
editor.execCommand('maximize');
|
|
|
|
module.isMaximized = true;
|
|
|
|
module.isMaximized = true;
|
|
|
|
|
|
|
|
// We have to call it 3 times in Safari
|
|
|
|
|
|
|
|
// in order to have the editor fully maximized -_-
|
|
|
|
|
|
|
|
if ((''+window.navigator.vendor).indexOf('Apple') !== -1) {
|
|
|
|
|
|
|
|
editor.execCommand('maximize');
|
|
|
|
|
|
|
|
editor.execCommand('maximize');
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
module.patchText = TextPatcher.create({
|
|
|
|
module.patchText = TextPatcher.create({
|
|
|
|