mirror of
https://github.com/scotttomaszewski/obsidian-disciples-journal.git
synced 2026-07-22 05:42:13 +00:00
Merge insert-notice wording tweak
This commit is contained in:
commit
e661205654
2 changed files with 4 additions and 3 deletions
|
|
@ -77,5 +77,6 @@ non-obvious things:
|
|||
→ `lastEditableLeaf`, filtered by `isBibleContentFile`) and `resolveInsertTarget()`
|
||||
returns it. There's no public "leaves in MRU order" API — this `active-leaf-change`
|
||||
tracking is the stand-in. Insert does **not** steal focus; it drops the text in and shows
|
||||
an `Inserted … into <note>` notice. The right-click "Insert here" path is unaffected — it
|
||||
always uses the clicked editor.
|
||||
a `Passage … inserted into note …` notice (important when the target pane is in the
|
||||
background). The right-click "Insert here" path is unaffected — it always uses the clicked
|
||||
editor.
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export async function runVerseAction(
|
|||
return;
|
||||
}
|
||||
view.editor.replaceSelection(payload);
|
||||
new Notice(`Inserted ${selection.label()} into ${view.file?.basename ?? "note"}`);
|
||||
new Notice(`Passage ${selection.label()} inserted into note ${view.file?.basename ?? "note"}`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue