-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code block in HTML presentation issues Uncaught DOMException: Operation is not supported #370
Comments
TL;DR: The reported errors do not cause any problems in rendering Marp slides. |
This is due to the different behavior between Firefox and Chrome when defining the Marp Core's Web Component ( When In Firefox,
However, they are browser-side errors that occurs when updating the definition of existing HTML elements, and they do not stop the main JavaScript thread due to the exception. The subsequent processes in the script (more reliable Web Component upgrade process, to deal with upgrade failures in Firefox and Safari) will be continue without any problems, so there are not any problems in rendering Marp slides. |
Ideas to suppress errors:
|
Version of Marp Tool
marp-vscode 2.8.0
Operating System
macOS
Environment
How to reproduce
Any code block defined in presentation:
---
marp: true
---
```
```
Presentation exported to HTML and viewed in mozilla.
Expected behavior
No loading/console errors.
Actual behavior
Presentation loads, but with errors. This is especially visible with a larger presentation and a mobile browser.
Browser console output:
Line 14 is
<script>!function()[...]
Additional information
Public instance with these errors: https://vainiusd.github.io/marp-cheatslides/
The text was updated successfully, but these errors were encountered: