Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript: Unicode symbol picker (for adding math symbols to a textarea)

I'm looking for a solution to allow users to add unicode characters (math symbols for now) to a textarea by clicking a button. I was hoping there was some kind of symbol picker class/plugin out there that would do this so I didn't have to recreate the wheel here.

I found this one but it's basically a proof of concept. Does anyone know of anything that's a bit more finished? A jQuery plugin would be great but I haven't found any yet.

EDIT

I also found this one. It seems to be based on the same source though and also attempts to render unsupported characters.

like image 442
compcentral Avatar asked Aug 19 '12 16:08

compcentral


1 Answers

I've made 2 extensions, with the functionality you are looking for.

Chrome: https://chrome.google.com/webstore/detail/utf-8-and-unicode-charact/fcemphgmjnjpmmdhcedhjiegickfbiia

Firefox: https://addons.mozilla.org/firefox/addon/utf8-characters/

Here you can find only the math symbols in html:

https://github.com/codexico/UTF-8-Chrome-Extension/blob/master/html/groups/math.html

And the chars with description:

https://github.com/codexico/UTF-8-Chrome-Extension/blob/0361f41452f3c2165324dac437ff7ffa60b267f2/popup.html

like image 73
Francisco Kahil Avatar answered Nov 05 '22 11:11

Francisco Kahil