fix: view fails to load in obsidian 1.9.10

This commit is contained in:
ycnmhd 2025-08-19 00:20:34 +01:00
parent 53d916c445
commit 38b220c9f8
No known key found for this signature in database
GPG key ID: E38ED8B2B6559A4E
3 changed files with 6 additions and 2 deletions

View file

@ -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",

View file

@ -1,6 +1,6 @@
{
"name": "lineage",
"version": "0.8.4",
"version": "0.8.5",
"description": "",
"scripts": {
"dev": "node esbuild.config.mjs",

View file

@ -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;