fix: adds the UmbBlockRteEntriesContext to the tinymce property editor ui so the routes can be calculated

This commit is contained in:
Jacob Overgaard
2024-09-10 17:15:44 +02:00
parent 2c497cd843
commit 859276680f

View File

@@ -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();