suppress reverting to a blank in auto-import on paste

This commit is contained in:
tophf 2017-08-30 10:49:42 +03:00
parent edc2ab0ead
commit 6f0ab8113e

View File

@ -406,6 +406,7 @@ function setupCodeMirror(textarea, index) {
event.preventDefault();
fromMozillaFormat();
$('#help-popup').codebox.setValue(text);
$('#help-popup').codebox.clearHistory();
$('#help-popup').codebox.markClean();
}
if (editors.length === 1) {