Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery Tag Editor? [closed]

Is there any open source tag editor for jQuery that works like the tag editor in stack overflow?

like image 779
Alon Gubkin Avatar asked Mar 27 '10 23:03

Alon Gubkin


3 Answers

I have been looking at a bunch of options. None of them seemed to fit exactly what I was looking for. Here are are least some of the things I found.

  • Tag-it
  • Tagit
  • Xoxco
  • Tagedit
  • Widen Tagit

Hope it helps

+--------------------+------+-----+-----+-------+-----+
|Toolkit             |Tag-it|Tagit|Xoxco|Tagedit|Widen|
+--------------------+------+-----+-----+-------+-----+
|Setting tags        |-     |+    |+    |?      |+    |
|programmatically    |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+
|Getting tags out as |+     |+    |-    |?      |+    |
|an array            |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+
|Editting existing   |-     |-    |-    |+      |+    |
|tags                |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+
|Tab / cursor        |-     |-    |-    |-      |-    |
|selecting existing  |      |     |     |       |     |
|tags                |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+
|Sorting tags        |-     |+    |-    |+      |+    |
+--------------------+------+-----+-----+-------+-----+
|Placeholder text    |-     |-    |+    |-      |-    |
+--------------------+------+-----+-----+-------+-----+
|Supporting comma    |-     |+    |-    |+      |+    |
|inside tags         |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+
like image 59
Wilfred Springer Avatar answered Nov 04 '22 04:11

Wilfred Springer


This library is really nice:

https://github.com/xoxco/jQuery-Tags-Input

Supports autocomplete too, and it plays well with jQuery UI (using it inside a jQuery UI Dialog at the moment).

like image 44
Pavel Avatar answered Nov 04 '22 04:11

Pavel


The tag editor uses an "Autocomplete" feature - jQueryUI recently added this in version 1.8. It appears to be based on the classic jQuery autocomplete plugin by Jörn Zaefferer (I haven't compared the source, but the API seems pretty similar).

like image 3
James Kolpack Avatar answered Nov 04 '22 04:11

James Kolpack