From 859276680f5f9e8923691f2de8012e5bc67e6fad Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:15:44 +0200 Subject: [PATCH] fix: adds the UmbBlockRteEntriesContext to the tinymce property editor ui so the routes can be calculated --- .../tiny-mce/property-editor-ui-tiny-mce.element.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/property-editors/tiny-mce/property-editor-ui-tiny-mce.element.ts b/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/property-editors/tiny-mce/property-editor-ui-tiny-mce.element.ts index a548388d19..1134ca8653 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/property-editors/tiny-mce/property-editor-ui-tiny-mce.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/property-editors/tiny-mce/property-editor-ui-tiny-mce.element.ts @@ -6,6 +6,7 @@ import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/extensi import '../../components/input-tiny-mce/input-tiny-mce.element.js'; import { + UmbBlockRteEntriesContext, type UmbBlockRteLayoutModel, UmbBlockRteManagerContext, type UmbBlockRteTypeModel, @@ -83,6 +84,7 @@ export class UmbPropertyEditorUITinyMceElement extends UmbLitElement implements private _latestMarkup = ''; // The latest value gotten from the TinyMCE editor. #managerContext = new UmbBlockRteManagerContext(this); + #entriesContext = new UmbBlockRteEntriesContext(this); constructor() { super();