From 38b220c9f8c54f8507ed3f02f2e1aeb8884408d6 Mon Sep 17 00:00:00 2001 From: ycnmhd <33285087+ycnmhd@users.noreply.github.com> Date: Tue, 19 Aug 2025 00:20:34 +0100 Subject: [PATCH] fix: view fails to load in obsidian 1.9.10 --- manifest.json | 2 +- package.json | 2 +- src/obsidian/helpers/inline-editor/inline-editor.ts | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 9a68414..a6dddd5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "lineage", "name": "Lineage", - "version": "0.8.4", + "version": "0.8.5", "minAppVersion": "0.15.0", "description": "Edit Markdown in a keyboard-centric Miller columns interface. Inspired by Gingko Writer.", "author": "ycnmhd", diff --git a/package.json b/package.json index 55ccdac..4f79485 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lineage", - "version": "0.8.4", + "version": "0.8.5", "description": "", "scripts": { "dev": "node esbuild.config.mjs", diff --git a/src/obsidian/helpers/inline-editor/inline-editor.ts b/src/obsidian/helpers/inline-editor/inline-editor.ts index 14e99f8..ace9cb4 100644 --- a/src/obsidian/helpers/inline-editor/inline-editor.ts +++ b/src/obsidian/helpers/inline-editor/inline-editor.ts @@ -157,6 +157,10 @@ export class InlineEditor { containerEl: this.containerEl, app: this.view.plugin.app, workspace, + history: { + backHistory: [], + forwardHistory: [], + }, } as never) as InlineMarkdownView; this.inlineView.save = noop; this.inlineView.requestSave = this.invokeAndDeleteOnChangeSubscriptions;