hailwood / jQuery-Tagit

The Jquery Tagit Plugin transforms an html unordered list into a unique tagging plugin.
264 stars 109 forks source link

Features: tagit-label and tags edit support #59

Closed AAverin closed 12 years ago

AAverin commented 12 years ago

Details:

small fixes:

  1. 'style' is now cleared after highlight animation, so it no longer messes with other things you want to style.

features:

  1. each tag label is now marked as 'tagit-label' class - simplifies use of ellipsis for tags and etc.
  2. option 'editable', methods _edit and _postEdit were added

Edit logic: if 'editable=true' click on a tag:

Anyway, all this is in code, some comments were also added. With lots of css changes for tagit in my project I wasn't able to add sample styles for: 'tagit-edit', 'hidden', 'edited', 'tagit-label' I hope you will figure our yourself how to style these parts.

Changes were also added to tagit-themeroller, although weren't tested, so be careful when using.