draft-js-plugins
draft-js-plugins copied to clipboard
[Bug] Emoji - Runtime error when fitting emoji before ':'
Hey, guys!
Thank you for such helpful project!
Found runtime exception when was trying to insert the emoji before the colon (':').

Brief look: store.getPortalClientRect tries to get offsetKey which is not present.
This error also breaks the runtime if no try-catch used.
Please share any ideas with me if you have.
Thanks.
+1
Fixed in #1042