Skip to content

Commit 38b220c

Browse files
committed
fix: view fails to load in obsidian 1.9.10
1 parent 53d916c commit 38b220c

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "lineage",
33
"name": "Lineage",
4-
"version": "0.8.4",
4+
"version": "0.8.5",
55
"minAppVersion": "0.15.0",
66
"description": "Edit Markdown in a keyboard-centric Miller columns interface. Inspired by Gingko Writer.",
77
"author": "ycnmhd",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lineage",
3-
"version": "0.8.4",
3+
"version": "0.8.5",
44
"description": "",
55
"scripts": {
66
"dev": "node esbuild.config.mjs",

src/obsidian/helpers/inline-editor/inline-editor.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ export class InlineEditor {
157157
containerEl: this.containerEl,
158158
app: this.view.plugin.app,
159159
workspace,
160+
history: {
161+
backHistory: [],
162+
forwardHistory: [],
163+
},
160164
} as never) as InlineMarkdownView;
161165
this.inlineView.save = noop;
162166
this.inlineView.requestSave = this.invokeAndDeleteOnChangeSubscriptions;

0 commit comments

Comments
 (0)