Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 3edeae2

Browse files
authored
Merge branch 'main' into bugfix/property-editor-ui-value-can-be-undefined-fix
2 parents e0bfadd + 2c55d98 commit 3edeae2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/packages/tiny-mce/plugins/tiny-mce-linkpicker.plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ export default class UmbTinyMceLinkPickerPlugin extends UmbTinyMcePluginBase {
105105
const linkPickerData = await modalHandler.onSubmit().catch(() => undefined);
106106
if (!linkPickerData) return;
107107

108-
this.#linkPickerData = linkPickerData;
108+
// TODO: This is a workaround for the issue where the link picker modal is returning a frozen object, and we need to extract the link into smaller parts to avoid the frozen object issue.
109+
this.#linkPickerData = { link: { ...linkPickerData.link } };
109110
this.#updateLink();
110111
}
111112

0 commit comments

Comments
 (0)