Fix the sideBySideFullscreen=false + status=false bug

pull/272/head
Joh Dokler 3 years ago
parent f286a6bae5
commit 2a904b24ab

@ -909,7 +909,9 @@ function toggleSideBySide(editor) {
if (editor.options.sideBySideFullscreen === false) {
cm.setOption('sideBySideNoFullscreen', true);
noFullscreenItems.forEach(function(el) {
addNoFullscreenClass(el);
if (el) {
addNoFullscreenClass(el);
};
});
} else {
toggleFullScreen(editor);
@ -2142,7 +2144,7 @@ EasyMDE.prototype.render = function (el) {
assignImageBlockAttributes(parentEl, window.EMDEimagesCache[keySrc]);
}
}
}
}
});
}
this.codemirror.on('update', function () {

Loading…
Cancel
Save