diff --git a/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/components/input-tiny-mce/input-tiny-mce.element.ts b/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/components/input-tiny-mce/input-tiny-mce.element.ts index 94518a0814..226e536a5a 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/components/input-tiny-mce/input-tiny-mce.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/tiny-mce/components/input-tiny-mce/input-tiny-mce.element.ts @@ -214,13 +214,13 @@ export class UmbInputTinyMceElement extends FormControlMixin(UmbLitElement) { } // set the configured inline mode - const mode = this.configuration?.getValueByAlias('mode'); - if (mode?.toLocaleLowerCase() === 'inline') { + const mode = this.configuration?.getValueByAlias>('mode'); + if (mode?.[0].toLocaleLowerCase() === 'inline') { configurationOptions.inline = true; } // set the maximum image size - const maxImageSize = this.configuration?.getValueByAlias('maxImageSize'); + const maxImageSize = this.configuration?.getValueByAlias('maxImageSize'); if (maxImageSize !== undefined) { configurationOptions.maxImageSize = maxImageSize; }