From 03582c661d77f49a605ae6231681fdadb8a55e92 Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:29:27 -0500 Subject: [PATCH 1/2] fix: fixes issue with long scrolling notes with new MS syntax in LP (closes #149) --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 5df1518..4cc6e8b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -529,6 +529,7 @@ export default class ObsidianAdmonition extends Plugin { } update(update: ViewUpdate) { + if (update.heightChanged) return; if (!self.data.livePreviewMS) return; const md = update.view.state.field(editorViewField); if (!md.leaf?.view) return; From 1d034e503f0a96df22f142e44f79f74294ec794f Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:29:31 -0500 Subject: [PATCH 2/2] chore(release): 6.9.3 --- CHANGELOG.md | 7 +++++++ manifest.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f166c4c..a3f7c09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [6.9.3](https://github.com/valentine195/obsidian-admonition/compare/6.9.2...6.9.3) (2022-01-12) + + +### Bug Fixes + +* fixes issue with long scrolling notes with new MS syntax in LP (closes [#149](https://github.com/valentine195/obsidian-admonition/issues/149)) ([03582c6](https://github.com/valentine195/obsidian-admonition/commit/03582c661d77f49a605ae6231681fdadb8a55e92)) + ### [6.9.2](https://github.com/valentine195/obsidian-admonition/compare/6.9.1...6.9.2) (2022-01-11) diff --git a/manifest.json b/manifest.json index 22b50cf..2a0f394 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-admonition", "name": "Admonition", - "version": "6.9.2", + "version": "6.9.3", "minAppVersion": "0.11.0", "description": "Admonition block-styled content for Obsidian.md", "author": "Jeremy Valentine", diff --git a/package-lock.json b/package-lock.json index c596a1d..cff4e18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "obsidian-admonition", - "version": "6.9.2", + "version": "6.9.3", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "6.9.2", + "version": "6.9.3", "license": "MIT", "dependencies": { "@fortawesome/free-brands-svg-icons": "^5.15.4", diff --git a/package.json b/package.json index 44d882f..1ae148b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-admonition", - "version": "6.9.2", + "version": "6.9.3", "description": "Admonition block-styled content for Obsidian.md", "main": "main.js", "scripts": {