From 9acb751cad1bd587bc8c1db2244b2c17168d8269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 8 May 2025 20:42:03 -0400 Subject: [PATCH 1/3] use inline important styles so width/height doesnt get changed by harmony css --- library.js | 9 +++------ package.json | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/library.js b/library.js index 4ccf990..047f7bd 100644 --- a/library.js +++ b/library.js @@ -1,25 +1,22 @@ function getSetString(match, src, width, height) { if (width === "" && height === "") { - return match; } - return "=0.6.0 <=1.18.0" + "compatibility": ">=1.0.0 <5.0.0" }, "devDependencies": { "@commitlint/cli": "13.1.0", From 7bb72ea9e129dd5b0642224faf2c342ccb1d68ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 19 Jan 2026 21:51:13 -0500 Subject: [PATCH 2/3] change id url --- package.json | 4 ++-- plugin.json | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b35f9c9..8449dea 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "name": "nodebb-plugin-image-md-size", + "name": "@nodebb/nodebb-plugin-image-md-size", "version": "0.9.0", "description": "NodeBB plugin which allows you to change the size of a markdown image in a post using the @ character.", "main": "library.js", "repository": { "type": "git", - "url": "https://github.com/MilWolf/nodebb-plugin-image-md-size" + "url": "https://github.com/NodeBB-Community/nodebb-plugin-image-md-size" }, "keywords": [ "nodebb", diff --git a/plugin.json b/plugin.json index 62c8e88..0fdd6a0 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,4 @@ { - "id": "nodebb-plugin-image-md-size", - "url": "nodebb-plugin-image-md-size", "library": "./library.js", "hooks": [ {"hook": "filter:parse.post", "method": "sizeImages"}, From 7a34af70903f5c983013809d65342dfe4034971a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 19 Jan 2026 21:51:39 -0500 Subject: [PATCH 3/3] 0.9.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6a34d67..a949a2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nodebb-plugin-image-sizer", - "version": "0.9.0", + "version": "0.9.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8449dea..0ab3170 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nodebb/nodebb-plugin-image-md-size", - "version": "0.9.0", + "version": "0.9.1", "description": "NodeBB plugin which allows you to change the size of a markdown image in a post using the @ character.", "main": "library.js", "repository": {