Skip to content
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

Devtools yield "URI Malformed" error when unicode emoji present #906

Closed
wbharding opened this issue Mar 29, 2019 · 2 comments
Closed

Devtools yield "URI Malformed" error when unicode emoji present #906

wbharding opened this issue Mar 29, 2019 · 2 comments

Comments

@wbharding
Copy link

Issue details

When invoking the Prosemirrors devtools via applyDevTools(view), Chrome yields multiple "URI malformed" exceptions if one pastes in a native emoji and continues typing:

Selection_072

Steps to reproduce

Open a Prosemirror editor instance that uses devtools in Chrome, and open Chrome inspector. Paste in a native emoji like "🕵️", then continue typing. Observe repeated exception.

ProseMirror version

1.8.4 (I think?)

Affected platforms

Observed in latest Chrome on Linux and macOS

Screenshots / Screencast (Optional)

Selection_073

@wbharding
Copy link
Author

Hmm, it looks like Github automatically converts my native emoji into a corresponding image, so you may need to grab a native emoji from outside this issue to get repro.

@marijnh
Copy link
Member

marijnh commented Mar 29, 2019

It sounds like you're using prosemirror-dev-tools, and the problem originates from there—that project isn't maintained by the same people as the ProseMirror library, so I suggest you open an issue on that repository instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants