-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Invalid markup syntax will lead to crash #675
Comments
Thanks for reporting this @huozhi. We should definitely handle this more gracefully, and not have it blow up the entire website. If anyone is willing to contribute a patch it would be appreciated! The relevant code for the homepage is here: https://github.com/idyll-lang/idyll/blob/master/packages/idyll-docs/pages/index.js#L140-L145. |
@mathisonian hello there, I'm checking this issue on component I'm new in the idyll universe, so maybe my question here is trivial... Is there any kind of "regex" that matches the input from "Write your own equation"? Or this must be done only in the "idyll-docs" and not in "idyll-components"? Because my initial thought was to put some kind of red label above the input indicating error, very similar to material design form error highlight. |
Hi @mrviniciux - would you mind clarifying the use case a little bit? With the
which would result in this behavior: text-input-example.movLooking at the implementation of |
@mathisonian sorry for the delay on this, finally I take some time to get back on board. I opened a PR as mentioned above and hope that helps. In the next weeks I will stay tuned for your feedback and hope we can do something great about this. See ya! |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
[]()
Expected behavior
render
[]()
as text. or maybe just warn user it's not validScreenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: