From f4164984960b5f3a759aecc1479d03d88fa652b3 Mon Sep 17 00:00:00 2001 From: Nathan Woulfe Date: Mon, 12 Jun 2023 20:15:25 +1000 Subject: [PATCH] tiny needs href prop, not url --- .../uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.ts index d14fad7be4..e9ef71876f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.ts @@ -130,6 +130,11 @@ export default class UmbTinyMceLinkPickerPlugin extends UmbTinyMcePluginBase { a.href += this.#linkPickerData?.link.queryString; } + // always need to map back to href for tinymce to render correctly + if (this.#linkPickerData?.link.url) { + a.href = this.#linkPickerData.link.url; + } + return a; }