emoji-picker icon indicating copy to clipboard operation
emoji-picker copied to clipboard

Text copied from MS Word gets mangled- some words get joined.

Open lookog opened this issue 8 years ago • 0 comments

On copying text from a MS Word document to an emoji-picker field, some spaces get removed leading to concatenated words. This happens on the demo page as well. For example: "This term X was coined in 1920 by the 9 year old nephew of American mathematician Edward Kasner." became: "This term X was coinedin 1920 by the 9 year old nephew of American mathematician Edward Kasner." It looks like the library is taking text and adding \n newline characters at certain places and then later doing a string join on newline while eliminating the spaces in between words. newlinedatacausingissue I was able to handle this by doing a one-line change.

lookog avatar Oct 22 '16 06:10 lookog