fix: add to note bug
This commit is contained in:
parent
f6e41ac4d9
commit
20cd97d6a9
|
|
@ -268,7 +268,7 @@ class Knowledge extends AddonBase {
|
|||
if (lineIndex < 0) {
|
||||
lineIndex =
|
||||
this.currentLine >= 0
|
||||
? this.currentLine + 1
|
||||
? this.currentLine + 2
|
||||
: this.getLinesInNote(note).length + 1;
|
||||
}
|
||||
// let parentNode = this.getLineParentInNote(note, lineIndex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue