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

This commit is contained in:
Wes Cossick 2016-06-07 21:40:40 -05:00
parent c949cad2d8
commit b4d4e89129

View file

@ -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;