From 25faceb6cb01e9e676c81105ba67f0d429ab12ba Mon Sep 17 00:00:00 2001 From: Hsu Zhong Jun <27919917+dcshzj@users.noreply.github.com> Date: Fri, 26 Jan 2024 17:25:13 +0800 Subject: [PATCH 1/2] fix(tiptap): correctly parse linked image node if it is first (#1794) --- src/layouts/components/Editor/extensions/Image/Image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/Editor/extensions/Image/Image.ts b/src/layouts/components/Editor/extensions/Image/Image.ts index 46f8ac56b..9265250b7 100644 --- a/src/layouts/components/Editor/extensions/Image/Image.ts +++ b/src/layouts/components/Editor/extensions/Image/Image.ts @@ -146,7 +146,7 @@ export const IsomerImage = Image.extend({ tag: 'img[src]:not([src^="data:"])', }, { - tag: 'a[href].isomer-image-wrapper > img[src]:not([src^="data:"])', + tag: "a[href].isomer-image-wrapper:has(> img)", }, ] }, From 0eaf6381423e9caff2d7b7ba157e491865eb974c Mon Sep 17 00:00:00 2001 From: seaerchin Date: Tue, 30 Jan 2024 14:53:08 +0800 Subject: [PATCH 2/2] 0.75.0 --- CHANGELOG.md | 9 ++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4715abf..6c3517fee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v0.75.0](https://github.com/isomerpages/isomercms-frontend/compare/v0.74.0...v0.75.0) + +- fix(tiptap): correctly parse linked image node if it is first [`#1794`](https://github.com/isomerpages/isomercms-frontend/pull/1794) +- 0.74.0 [`#1793`](https://github.com/isomerpages/isomercms-frontend/pull/1793) + #### [v0.74.0](https://github.com/isomerpages/isomercms-frontend/compare/v0.73.0...v0.74.0) +> 26 January 2024 + - fix(tiptap): remove indentation from pretty printed HTML [`#1791`](https://github.com/isomerpages/isomercms-frontend/pull/1791) - 0.73.0 [`#1787`](https://github.com/isomerpages/isomercms-frontend/pull/1787) @@ -84,12 +91,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - fix: warning modals [`#1744`](https://github.com/isomerpages/isomercms-frontend/pull/1744) - IS-734 Add delete icon to table control and other minor UI fixes [`#1743`](https://github.com/isomerpages/isomercms-frontend/pull/1743) - 0.64.0 [`#1741`](https://github.com/isomerpages/isomercms-frontend/pull/1741) +- fix(preview): update overflow behaviour [`#1742`](https://github.com/isomerpages/isomercms-frontend/pull/1742) #### [v0.64.0](https://github.com/isomerpages/isomercms-frontend/compare/v0.63.2...v0.64.0) > 12 December 2023 -- fix(preview): update overflow behaviour [`#1742`](https://github.com/isomerpages/isomercms-frontend/pull/1742) - IS-807 Fixed duplicating issue when setting hyperlink & alt text for image in RTE [`#1738`](https://github.com/isomerpages/isomercms-frontend/pull/1738) - refactor(legacy/markdown-editpae): update width [`#1739`](https://github.com/isomerpages/isomercms-frontend/pull/1739) - IS-712 Fixed image resizing issue in RTE [`#1736`](https://github.com/isomerpages/isomercms-frontend/pull/1736) diff --git a/package-lock.json b/package-lock.json index 560a2e68a..c893bdda1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "isomercms-frontend", - "version": "0.74.0", + "version": "0.75.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "isomercms-frontend", - "version": "0.74.0", + "version": "0.75.0", "hasInstallScript": true, "dependencies": { "@braintree/sanitize-url": "^6.0.1", diff --git a/package.json b/package.json index e770af4d9..34dc87576 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "isomercms-frontend", - "version": "0.74.0", + "version": "0.75.0", "private": true, "engines": { "node": ">=16.0.0"