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

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - WPF+EF - The operation cannot be completed because the DbContext has been disposed -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -