javascript - How to remove smiley character in contenteditable div -


i developing cross browser/platform application in html 5. using contenteditable text insertion. draw text inserted user on canvas. when user input smiley symbols (from nexus 7 in case), not able width of characters.

i putting every character in non visible div(which have put @ negative coordinates) , getting div's width , height.

is there way can remove these smileys inserted user?

the application supports other languages chinese, japanese etc , cannot put check charcode, unless there specific range of unicode these special characters.

thanks in advance.


Comments

Popular posts from this blog

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -