mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-02 15:44:27 -06:00
Fix selection bug when toggling between side-by-side (#309)
This commit is contained in:
parent
c949cad2d8
commit
b4d4e89129
@ -740,6 +740,9 @@ function toggleSideBySide(editor) {
|
||||
} else {
|
||||
cm.off("update", cm.sideBySideRenderingFunction);
|
||||
}
|
||||
|
||||
// Refresh to fix selection being off (#309)
|
||||
cm.refresh();
|
||||
}
|
||||
|
||||
|
||||
@ -2015,4 +2018,4 @@ SimpleMDE.prototype.toTextArea = function() {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = SimpleMDE;
|
||||
module.exports = SimpleMDE;
|
Loading…
x
Reference in New Issue
Block a user