mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-06-28 13:41:01 -06:00
Fix the sideBySideFullscreen=false + status=false bug
This commit is contained in:
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…
x
Reference in New Issue
Block a user