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

Bug: Overriding console method throws breaking error on Firefox

Open dogagenc opened this issue 1 year ago • 2 comments

The file called suppress-warnings can cause issues in Firefox applications. To address this problem, I have created a pull request that removes the file and its usage. Additionally, I believe that it's important to be able to see warnings generated by Svelte during development. By using suppress-warnings, other warnings from dynamically loaded components and other files/libraries may also be suppressed.

PR: https://github.com/pablo-abc/svelte-markdown/pull/63

dogagenc avatar Mar 04 '23 20:03 dogagenc

In case you are visiting from the future and encounter a problem with your application or website on Firefox due to this library, I have uploaded an updated version on npm:

npm install @dogagenc/svelte-markdown or yarn add @dogagenc/svelte-markdown

dogagenc avatar Mar 04 '23 20:03 dogagenc

I had the same problem and can confirm you fork fixes it.

Thank you for publishing!

edman avatar Mar 12 '23 18:03 edman