Fix selection bug when toggling between side-by-side (#309)

pull/353/head
Wes Cossick 8 years ago
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…
Cancel
Save