focus editor when clicking section name
This commit is contained in:
parent
349a8c3878
commit
58ad6f64d6
|
@ -57,6 +57,7 @@ function SourceEditor() {
|
||||||
if (sec) {
|
if (sec) {
|
||||||
sectionFinder.updatePositions(sec);
|
sectionFinder.updatePositions(sec);
|
||||||
cm.jumpToPos(sec.start);
|
cm.jumpToPos(sec.start);
|
||||||
|
cm.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async save() {
|
async save() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user