From 7f1272918cd864c14882c8f09d34d11c9f204edd Mon Sep 17 00:00:00 2001 From: Silberengel Date: Wed, 8 Apr 2026 20:29:08 +0200 Subject: [PATCH] render images in preview --- package.json | 2 +- src/components/PostEditor/PostTextarea/Preview.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9d507ec1..0f2e8437 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "imwald", - "version": "22.3.0", + "version": "22.3.1", "description": "Imwald — a user-friendly Nostr client focused on relay feed browsing, publications, and relay discovery", "private": true, "type": "module", diff --git a/src/components/PostEditor/PostTextarea/Preview.tsx b/src/components/PostEditor/PostTextarea/Preview.tsx index 13408fab..3a4a95fc 100644 --- a/src/components/PostEditor/PostTextarea/Preview.tsx +++ b/src/components/PostEditor/PostTextarea/Preview.tsx @@ -218,7 +218,7 @@ export default function Preview({ if (kind === kinds.ShortTextNote || kind === ExtendedKind.COMMENT || kind === ExtendedKind.VOICE_COMMENT) { return withClientBadge( - + ) } @@ -226,7 +226,7 @@ export default function Preview({ if (kind === ExtendedKind.DISCUSSION) { return withClientBadge( - + ) } @@ -235,7 +235,7 @@ export default function Preview({ if (kind === kinds.LongFormArticle) { return withClientBadge( - + ) } @@ -253,7 +253,7 @@ export default function Preview({ if (kind === ExtendedKind.WIKI_ARTICLE_MARKDOWN) { return withClientBadge( - + ) }