|
|
|
@ -883,9 +883,11 @@ function toggleSideBySide(editor) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function removeNoFullscreenClass(el) {
|
|
|
|
|
el.className = el.className.replace(
|
|
|
|
|
/\s*sided--no-fullscreen\s*/g, ''
|
|
|
|
|
);
|
|
|
|
|
if (el != null) {
|
|
|
|
|
el.className = el.className.replace(
|
|
|
|
|
/\s*sided--no-fullscreen\s*/g, ''
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (/editor-preview-active-side/.test(preview.className)) {
|
|
|
|
@ -909,7 +911,9 @@ function toggleSideBySide(editor) {
|
|
|
|
|
if (editor.options.sideBySideFullscreen === false) {
|
|
|
|
|
cm.setOption('sideBySideNoFullscreen', true);
|
|
|
|
|
noFullscreenItems.forEach(function(el) {
|
|
|
|
|
addNoFullscreenClass(el);
|
|
|
|
|
if (el != null) {
|
|
|
|
|
addNoFullscreenClass(el);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
toggleFullScreen(editor);
|
|
|
|
@ -2142,7 +2146,7 @@ EasyMDE.prototype.render = function (el) {
|
|
|
|
|
assignImageBlockAttributes(parentEl, window.EMDEimagesCache[keySrc]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.codemirror.on('update', function () {
|
|
|
|
|