0x6b / copy-selection-as-markdown

Firefox add-on to copy selection as Markdown
https://addons.mozilla.org/en-US/firefox/addon/copy-selection-as-markdown/
MIT License
190 stars 14 forks source link

An error inbetween should not break the whole copy progress #104

Open alexanderadam opened 2 years ago

alexanderadam commented 2 years ago

Actual Result

As mentioned before, I encountered an CORS error. I only saw this because copying didn't work at all and I looked at the console log. But in theory this doesn't have to be like this, right? If an error happend for processing a part of the source, it could be replaced by something like Unable to copy xyz or in the case of base64 images, there could be a graceful fallback to the regular image reference.

What do you think?

Expected Result

Copying works or at least an actionable message if something went wrong.