We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4e85d commit dc1bb67Copy full SHA for dc1bb67
dev/src/views/Text.js
@@ -373,7 +373,6 @@ export default class Text extends EventDispatcher {
373
this._tests.push(o);
374
this.testList.addItem(o, true);
375
this._handleTestChange();
376
- this.testEditor.focus();
377
this.testEditor.execCommand("selectAll");
378
this._change();
379
}
@@ -405,6 +404,8 @@ export default class Text extends EventDispatcher {
405
404
this._getTestEditor($.query("article .editor .pad", el), o);
406
this._updateTestHeader(o, el, true);
407
this._updateSelTest();
+ this.testEditor.focus();
408
+ this.testEditor.setCursor(this.testEditor.lineCount(), 0);
409
410
411
_handleTestNameChange(fld, o) {
0 commit comments