Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEditor F5 or Refresh Browser Dom issue #7

Open
younghu-lee opened this issue Aug 27, 2024 · 0 comments
Open

CKEditor F5 or Refresh Browser Dom issue #7

younghu-lee opened this issue Aug 27, 2024 · 0 comments

Comments

@younghu-lee
Copy link

It looks good, but when I press F5, refresh the page, or click on an href link, a setAttribute error occurs.
When importing ckeditor5-build-decoupled, it doesn't mount in the browser, causing an error to occur.
So, i fixed like below.

onMount(async () => { editor = (await import("@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor")).default; });

It's fixed problem.
I hope this helps to using this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant