mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-05 07:23:18 +02: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…
Reference in a new issue