diff --git a/README.md b/README.md index 21f1268..009c61f 100644 --- a/README.md +++ b/README.md @@ -173,8 +173,8 @@ dist/mdmenu/LICENSE GitHub releases are created from semver tags without a `v` prefix: ```bash -git tag 1.0.1 -git push origin 1.0.1 +git tag 1.0.2 +git push origin 1.0.2 ``` The release workflow runs on tags matching `x.y.z`. It installs dependencies with `npm ci`, runs `npm audit --omit=dev`, lints, typechecks, runs tests, builds `dist/mdmenu`, checks that the tag matches `package.json` and `manifest.json`, verifies release assets, creates GitHub artifact attestations, and publishes `main.js`, `manifest.json`, and `styles.css`. diff --git a/manifest.json b/manifest.json index a64fc85..2790d8b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "mdmenu", "name": "mdMenu", - "version": "1.0.1", + "version": "1.0.2", "minAppVersion": "1.5.0", "description": "A mini WYSIWYG-style Markdown formatting toolbar.", "author": "Michael Makarov", diff --git a/package-lock.json b/package-lock.json index 55002cd..016305d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mdmenu", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mdmenu", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "devDependencies": { "@types/node": "^25.9.3", diff --git a/package.json b/package.json index 80e9f0c..f5d027c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdmenu", - "version": "1.0.1", + "version": "1.0.2", "description": "A mini WYSIWYG-style Markdown formatting toolbar for Obsidian.", "main": "main.js", "type": "module", diff --git a/src/settingsTab.ts b/src/settingsTab.ts index 80e52c4..9b4330d 100644 --- a/src/settingsTab.ts +++ b/src/settingsTab.ts @@ -116,7 +116,7 @@ export class MdMenuSettingTab extends PluginSettingTab { } await this.plugin.saveSettings(); this.plugin.refreshToolbar(); - this.update(); + this.display(); }); }); @@ -134,7 +134,7 @@ export class MdMenuSettingTab extends PluginSettingTab { ]; await this.plugin.saveSettings(); this.plugin.refreshToolbar(); - this.update(); + this.display(); }); }); @@ -148,7 +148,7 @@ export class MdMenuSettingTab extends PluginSettingTab { ); await this.plugin.saveSettings(); this.plugin.refreshToolbar(); - this.update(); + this.display(); }); }); @@ -206,7 +206,7 @@ export class MdMenuSettingTab extends PluginSettingTab { ]; await this.plugin.saveSettings(); this.plugin.refreshToolbar(); - this.update(); + this.display(); }); }); } @@ -280,7 +280,7 @@ export class MdMenuSettingTab extends PluginSettingTab { ); await this.plugin.saveSettings(); this.plugin.refreshToolbar(); - this.update(); + this.display(); }); }); }); @@ -304,7 +304,7 @@ export class MdMenuSettingTab extends PluginSettingTab { this.plugin.settings.toolbarItems = items; await this.plugin.saveSettings(); this.plugin.refreshToolbar(); - this.update(); + this.display(); } private nextSeparatorId(): string { diff --git a/versions.json b/versions.json index de4f322..b027c03 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,3 @@ { - "1.0.1": "1.5.0" + "1.0.2": "1.5.0" }