d4rkr00t / prosemirror-dev-tools

Developer Tools for ProseMirror
321 stars 38 forks source link

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

Open wbharding opened 5 years ago

wbharding commented 5 years ago

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

ifiokjr commented 5 years ago

I'm running into the same issue. I can't see anything hinted in JSON diff patch.