tagmanager icon indicating copy to clipboard operation
tagmanager copied to clipboard

Adding ability to merge tags

Open pichot opened this issue 9 years ago • 3 comments

Hello!

Wanted to put this here for your thoughts. A client project needed the ability to merge tags, instead of just renaming them. I thought it might be a useful feature for others since Craft allows tags to have the same string.

The merge implementation was straightforward thanks to a merge function on ElementsService. But I did have trouble getting the dropdown menu of tags to work as expected. The issue came down to the fact that I add tags to a list with jQuery when the menu is displayed. I couldn't find how to get Craft's click handlers to stick, and instead had to write my own.

I'd appreciate your thoughts on improvements, and if you think this is something you'd be interested in merging. Thanks!

pichot avatar Jul 21 '16 16:07 pichot

Needs some work, but this sure is interesting. I'll have a closer look.

boboldehampsink avatar Jul 22 '16 09:07 boboldehampsink

Great! Ya, feel free to point me in a better direction, particularly in terms of the js implementation, but I'd appreciate any other thoughts you might have.

pichot avatar Jul 22 '16 11:07 pichot

Will this get implemented into the plugin at all?

green-plastic avatar Jun 28 '17 20:06 green-plastic