tinymce / tinymce-svelte

Svelte wrapper
MIT License
23 stars 6 forks source link

Destroy editor onDestroy of component #6

Closed cpiber closed 2 years ago

cpiber commented 2 years ago

Svelte also provides a onDestroy helper. The component should use this helper to cleanly destroy the tinymce instance as well.

jscasca commented 2 years ago

Hey @cpiber thanks for bringing that up. I made #7 PR to handle the cleanup. Let me know your thoughts

cpiber commented 2 years ago

Yes, I think that's all that's needed, thank you for your fast actions

jscasca commented 2 years ago

Released in v0.1.1. Thanks for the feedback!