diff --git a/src/main.ts b/src/main.ts index 1caed1b..03a78e4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -35,7 +35,7 @@ export default class VariablesPlugin extends Plugin { var cleanedValue = DOMPurify.sanitize(variable.value); element.innerHTML = element.innerHTML.replaceAll(variable.name, cleanedValue); } - }); + }, -1); // https://github.com/jffaust/obsidian-variables/issues/4 //this.registerEditorExtension(livePreviewPostProcessorPlugin(this));