Closed benrbray closed 4 years ago
I have the same problem since v3.0.0. v2.1.1 works well for me.
I guess the cause is https://github.com/d4rkr00t/prosemirror-dev-tools/pull/102.
regeneratorRuntime
needs babel's polyfill, I guess. So if a user doesn't use babel, this plugin doesn't work.
It's happening because we use async here to make diffing work in a webworker: https://github.com/d4rkr00t/prosemirror-dev-tools/pull/101/files#diff-90d13460b68f557fc5831101651565e0R201
Should be fixed in 3.0.1
Thank you! I've confirmed the problem is fixed in v3.0.1.
But I got another problem with IE11. nanoid v3, which this package depends on, doesn't support IE11. https://github.com/ai/nanoid/blob/master/CHANGELOG.md#30
So if this package supports IE11, could you relax the nanoid version to allow nanoid v2?
Yeah, sounds reasonable, can you open up a PR? Or i can have a look a bit later, today/this week :)
Thanks for the quick response!
I'll try opening a PR. :ok_person:
This project looks great! Unfortunately prosemirror-dev-tools seems to have trouble tracking changes with my setup. Any advice would be appreciated! MWE below. I'm using TypeScript and bundling with Parcel.
Error: regeneratorRuntime is not defined
I get the following error, which seems to be an issue with React, but I'm not familiar enough with React to be able to diagnose the issue.
Minimal Working Example
index.ts
index.html
package.json