From 4946397fe631f54fcae7e237e8e6cfaefdfc983c Mon Sep 17 00:00:00 2001 From: Arnaldo Piccinelli Date: Sun, 14 Aug 2022 05:19:23 -0400 Subject: [PATCH] #71 - Legacy warning always appears. (#72) * #71 - Legacy warning always appears. --- package-lock.json | 4 ++-- src/ObsidianZoomPlugin.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index cf6ffcc..9dd3172 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-zoom", - "version": "0.2.9", + "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "obsidian-zoom", - "version": "0.2.9", + "version": "1.0.0", "license": "MIT", "devDependencies": { "@babel/core": "^7.18.9", diff --git a/src/ObsidianZoomPlugin.ts b/src/ObsidianZoomPlugin.ts index 5efa360..f2c4f49 100644 --- a/src/ObsidianZoomPlugin.ts +++ b/src/ObsidianZoomPlugin.ts @@ -141,7 +141,7 @@ export default class ObsidianZoomPlugin extends Plugin { private isLegacyEditorEnabled() { const config: { legacyEditor: boolean } = { - legacyEditor: true, + legacyEditor: false, // eslint-disable-next-line @typescript-eslint/no-explicit-any ...(this.app.vault as any).config, };