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
Post a Comment