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

Image upload with URL error handling

Open GaroGabriel opened this issue 2 years ago • 0 comments

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

  1. Open Insert/edit image.
  2. In Source input, write eeeeeeeeee
  3. 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

Screenshot 2023-11-04 at 3 56 06 PM

Additional Information

  • Operating System: macOS Sonoma 14.0
  • Browser: Google Chrom Version 118.0.5993.117
  • Version: tinymce: "6.7.2"

GaroGabriel avatar Nov 04 '23 12:11 GaroGabriel