From cef7bb935780fae504e30263f07ccd00fe3e8063 Mon Sep 17 00:00:00 2001 From: Lee Kelleher Date: Wed, 27 Aug 2025 12:12:26 +0100 Subject: [PATCH] Chore: JSDocs for RTE CSS Props (#20008) RTE base: added JSDocs for CSSProps --- .../src/packages/rte/components/rte-base.element.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/rte/components/rte-base.element.ts b/src/Umbraco.Web.UI.Client/src/packages/rte/components/rte-base.element.ts index ea01c96fd8..de1c417a04 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/rte/components/rte-base.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/rte/components/rte-base.element.ts @@ -21,6 +21,15 @@ import type { UmbPropertyEditorConfigCollection, } from '@umbraco-cms/backoffice/property-editor'; +/** + * The abstract base class that is used as a base for the rich-text-editor component. + * @cssprop --umb-rte-width - The width of the rich-text-editor (default: unset) + * @cssprop --umb-rte-min-width - The minimum width of the rich-text-editor (default: unset) + * @cssprop --umb-rte-max-width - The maximum width of the rich-text-editor (default: 100%) + * @cssprop --umb-rte-height - The height of the rich-text-editor (default: 100%) + * @cssprop --umb-rte-min-height - The minimum height of the rich-text-editor (default: 100%) + * @cssprop --umb-rte-max-height - The maximum height of the rich-text-editor (default: 100%) + */ export abstract class UmbPropertyEditorUiRteElementBase extends UmbFormControlMixin(UmbLitElement) implements UmbPropertyEditorUiElement