ckeditor5-svelte
ckeditor5-svelte copied to clipboard
CKEditor F5 or Refresh Browser Dom issue
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.