Fix subtle bug

This commit is contained in:
Luke Leppan 2022-02-24 15:31:02 +02:00
parent 522898f148
commit 8226f4a7cb
4 changed files with 4 additions and 6 deletions

View file

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

View file

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

View file

@ -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": {

View file

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