mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-06-28 05:31:06 -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) {
|
if (editor.options.sideBySideFullscreen === false) {
|
||||||
cm.setOption('sideBySideNoFullscreen', true);
|
cm.setOption('sideBySideNoFullscreen', true);
|
||||||
noFullscreenItems.forEach(function(el) {
|
noFullscreenItems.forEach(function(el) {
|
||||||
addNoFullscreenClass(el);
|
if (el) {
|
||||||
|
addNoFullscreenClass(el);
|
||||||
|
};
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
toggleFullScreen(editor);
|
toggleFullScreen(editor);
|
||||||
@ -2142,7 +2144,7 @@ EasyMDE.prototype.render = function (el) {
|
|||||||
assignImageBlockAttributes(parentEl, window.EMDEimagesCache[keySrc]);
|
assignImageBlockAttributes(parentEl, window.EMDEimagesCache[keySrc]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.codemirror.on('update', function () {
|
this.codemirror.on('update', function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user