suppress reverting to a blank in auto-import on paste
This commit is contained in:
parent
edc2ab0ead
commit
6f0ab8113e
|
@ -406,6 +406,7 @@ function setupCodeMirror(textarea, index) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
fromMozillaFormat();
|
fromMozillaFormat();
|
||||||
$('#help-popup').codebox.setValue(text);
|
$('#help-popup').codebox.setValue(text);
|
||||||
|
$('#help-popup').codebox.clearHistory();
|
||||||
$('#help-popup').codebox.markClean();
|
$('#help-popup').codebox.markClean();
|
||||||
}
|
}
|
||||||
if (editors.length === 1) {
|
if (editors.length === 1) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user