andrewjk / tiptap-svelte

A port of tiptap (a renderless rich-text editor for Vue) to Svelte
31 stars 4 forks source link

Reports error when refreshing the editor #1

Closed zwz closed 4 years ago

zwz commented 4 years ago

I tried tiptap-svelte-examples. When you just refresh the browser at, say http://localhost:3000/basic, it reports some Loading chunk error. (You probably have to hit esc key quickly after refreshing, so as to stop and see the error)

andrewjk commented 4 years ago

Ah yeah, looks like I should have read my own docs more closely. Each editor needs to be created in onMount with checks to make sure it exists in the HTML.

Thanks!