Skip to content

Commit

Permalink
fix: properties from template not showing in note until editor change
Browse files Browse the repository at this point in the history
refs: #1253
  • Loading branch information
Zachatoo committed Dec 1, 2023
1 parent 3cd000a commit b349aff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/Templater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,6 @@ export class Templater {
const doc = editor.getDoc();
const oldSelections = doc.listSelections();
doc.replaceSelection(output_content);
if (active_view) {
await active_view.save();
}

app.workspace.trigger("templater:template-appended", {
view: active_view,
Expand Down

0 comments on commit b349aff

Please sign in to comment.