tinymce-svelte
tinymce-svelte copied to clipboard
Image upload with URL error handling
Description
When I'm trying to add an image by URL, I'm setting the not valid URL, for example, -> eeeeeeeeee . I'm getting an error in the console.
Steps to Reproduce
- Open Insert/edit image.
- In Source input, write eeeeeeeeee
- Click Outside of input.
Expected Behavior
Need to catch errors and handle them.
Actual Behavior
I can`t catch the error. To prevent and show warning modal.
Screenshot
Additional Information
- Operating System: macOS Sonoma 14.0
- Browser: Google Chrom Version 118.0.5993.117
- Version: tinymce: "6.7.2"