From 8226f4a7cb10c76b7b816fbd21e555cabc2e7c0e Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Thu, 24 Feb 2022 15:31:02 +0200 Subject: [PATCH] Fix subtle bug --- README.md | 2 -- manifest.json | 2 +- package.json | 2 +- src/main.ts | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 612b78d..f04f39a 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,6 @@ This plugin is the same as the built-in **Word Count** plugin, except when you s ![Better Count Word](https://raw.githubusercontent.com/lukeleppan/better-word-count/master/assets/better-word-count.gif) -**Better Word Count may not work with the new Live-Preview Editor. Switch to the legacy editor in Obsidian Settings > Editor > Use Legacy Editor.** - ## Features - Allows you to store statistics about your vault. diff --git a/manifest.json b/manifest.json index a464cc1..f248daa 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "better-word-count", "name": "Better Word Count", - "version": "0.8.0", + "version": "0.8.1", "description": "Counts the words of selected text in the editor.", "author": "Luke Leppan", "authorUrl": "https://lukeleppan.com", diff --git a/package.json b/package.json index 2c856ff..4b8cc99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "better-word-count", - "version": "0.8.0", + "version": "0.8.1", "description": "Counts the words of selected text in the editor.", "main": "main.js", "scripts": { diff --git a/src/main.ts b/src/main.ts index 8e7abca..70a6dbd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -29,11 +29,11 @@ export default class BetterWordCount extends Plugin { // } onload() { - this.createCMExtension(); - let statusBarEl = this.addStatusBarItem(); BetterWordCount.statusBar = new StatusBar(statusBarEl); + this.createCMExtension(); + // this.settings = Object.assign(DEFAULT_SETTINGS, await this.loadData()); // this.addSettingTab(new BetterWordCountSettingsTab(this.app, this));