ckeditor/ckeditor5-react

SyntaxError: The requested module '/ckeditor5-41.0.0/build/ckeditor.js?t=1705635647853' does not provide an export named 'default'

jdavidrsantos opened this issue · 1 comments

ckeditor5-41.0.0-95p5bgn58sod

Hello everyone,

I've been following the steps outlined (https://ckeditor.com/docs/ckeditor5/latest/installation/integrations/vuejs-v3.html#integrating-a-build-from-the-online-builder) to integrate CKEditor 5 into my Vue.js 3 project using Vite. Unfortunately, I've encountered persistent issues, even after trying several solutions.

Initially, I selected some premium features and encountered an error. Suspecting the premium features might be the cause, I switched to free plugins, but the problem persisted.

I've diligently followed the suggestions mentioned in (ckeditor/ckeditor5#2178) without success. I've spent the last two days attempting various approaches, but I can't pinpoint what's causing the problem.

Has anyone else faced a similar issue? Your insights would be greatly appreciated. Thank you.

Hi! The build file may have a Watchdog plugin, if yes, then you need to use named import like:

import { EditorWatchdog, Editor } from 'ckeditor-custom-build';

Could you share the contents of src/ckeditor.ts from the build?