-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make EditContext demo match the MDN tutorial (remove useless setInterval
, debug mode, reorganize in files, clean up code)
#266
Conversation
setInterval
-based render in the EditContext demosetInterval
-based render and debug mode in the EditContext demo
setInterval
-based render and debug mode in the EditContext demosetInterval
-based render and debug mode, and reorganize the EditContext demo
Taking a look now 👀 |
BTW, the guide is 404ing: https://github.com/mdn/dom-examples/tree/main/edit-context#demos |
Sorry @bsmth , I may need to do a couple more changes. Please hold off. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks! I took a look through the diffs and tested using:
cd edit-context/html-editor
http-server -c-1
Also compared with the deployed example and looks good.
- Not working on FX (as expected)
- Works as expected in Chrome Version 122.0.6261.129
I'm working on it now in this PR mdn/content#32027 |
Oops, I was too fast. You can ping me again when you're ready |
No it's my fault! I thought it would be just the one initial change, but then ended up doing more changes. I should have switched it to draft earlier. Thanks for the time spent on this already! I'll ping you again as soon as I'm done. |
setInterval
-based render and debug mode, and reorganize the EditContext demosetInterval
, debug mode, reorganize in files, clean up code)
@bsmth I'm done with my changes. Over to you for review, whenever you have some time. |
Having another look now 👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, mostly just reviewed c0818e3 since the last approval. Tested in Chrome again and looking good!
Thank you! 👍🏻
Awesome! Feel free to merge whenever. |
This is to make the EditContext API demo match the tutorial being written in mdn/content#32027.
setInterval
, which makes it hard to debug the demo with DevTools.