From 295b3a3dda26bcb4f8443811cc7df6667ef91cc3 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Mon, 23 Feb 2026 16:04:38 +0700 Subject: [PATCH] fix(frontend): use exported toast-ui entry to fix nuxt build --- .../workspace/documents/MarkdownRichEditor.client.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/components/workspace/documents/MarkdownRichEditor.client.vue b/frontend/app/components/workspace/documents/MarkdownRichEditor.client.vue index d2869cb..b97845f 100644 --- a/frontend/app/components/workspace/documents/MarkdownRichEditor.client.vue +++ b/frontend/app/components/workspace/documents/MarkdownRichEditor.client.vue @@ -29,8 +29,7 @@ function looksLikeHtml(value: string) { onMounted(async () => { if (!mountEl.value) return; const [{ default: Editor }] = await Promise.all([ - // @ts-ignore Package exports for ESM entry do not expose typings correctly. - import("@toast-ui/editor/dist/esm/index.js"), + import("@toast-ui/editor"), import("@toast-ui/editor/dist/toastui-editor.css"), ]);