ckeditor5-svelte icon indicating copy to clipboard operation
ckeditor5-svelte copied to clipboard

CKEditor F5 or Refresh Browser Dom issue

Open younghu-lee opened this issue 1 year ago • 0 comments

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.

younghu-lee avatar Aug 27 '24 01:08 younghu-lee