From be899dc3e74db1c8de153c11d9dd448d0880c1e4 Mon Sep 17 00:00:00 2001 From: 7eliassen Date: Thu, 7 May 2026 21:08:44 +0300 Subject: [PATCH] fix/add getter for editorComponent --- @codexteam/ui/src/vue/components/editor/Editor.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/@codexteam/ui/src/vue/components/editor/Editor.vue b/@codexteam/ui/src/vue/components/editor/Editor.vue index 71f3d134..cd3c1b08 100644 --- a/@codexteam/ui/src/vue/components/editor/Editor.vue +++ b/@codexteam/ui/src/vue/components/editor/Editor.vue @@ -88,7 +88,9 @@ defineExpose({ /** * Returns the editor holder */ - element: editorComponent.value, + get element(): HTMLElement | null { + return editorComponent.value; + }, });