mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-09-24 16:40:55 -06:00
Merge 2db7b11222f83ca37ab6465bf834b0c0993c7aa5 into 6abda7ab68cc20f4aca870eb243747951b90ab04
This commit is contained in:
commit
2b288b3409
@ -224,6 +224,9 @@ function toggleFullScreen(editor) {
|
|||||||
var sidebyside = cm.getWrapperElement().nextSibling;
|
var sidebyside = cm.getWrapperElement().nextSibling;
|
||||||
if(/editor-preview-active-side/.test(sidebyside.className))
|
if(/editor-preview-active-side/.test(sidebyside.className))
|
||||||
toggleSideBySide(editor);
|
toggleSideBySide(editor);
|
||||||
|
// Add toggle fullscreen callback
|
||||||
|
if ('fullScreenCallback' in editor.options)
|
||||||
|
editor.options.fullScreenCallback(cm.getOption("fullScreen"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2025,4 +2028,4 @@ SimpleMDE.prototype.toTextArea = function() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = SimpleMDE;
|
module.exports = SimpleMDE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user