Skip to content

Commit

Permalink
#71 - Legacy warning always appears. (#72)
Browse files Browse the repository at this point in the history
* #71 - Legacy warning always appears.
  • Loading branch information
arnaldop authored Aug 14, 2022
1 parent d82e3e5 commit 4946397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ObsidianZoomPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 4946397

Please sign in to comment.