How do we Dragging title from Tag Pill Dropdown - is the tag name available?

I am enhancing the use of tags which are a powerful part of TiddlyWiki.

If you click on a tag pill you will see the list of tagged tiddlers, you can drag any one of these titles to reorder them OR drop it elsewhere.

  • Drop the title into an editor, or even a custom tag bar (if visible)
    You can do the same for any draggable title.

What I have already done is;

  1. Creating a list of tag pills on which you can drop title(s) on and it/they will be tagged with the pill you drop it on.
  2. This includes already allow a user to click on a tag’s pill, see the list of titles so tagged, you can drag these titles and drop on another “custom” tag pill to add that tag as well.
  3. Now I would like to be able to use a modifier key such as ctrl when dragging such a title from a tag pill dropdown, it gets the new tag, but is also removed from the original tag.

The problem

In item 3. above I do not know how to find the original tag so I can remove the title being dragged from it, ie to add the new tag, remove the old tag.

  • I suspected it was <<tag>> as seen in list-tagged-draggable defined in $:/core/macros/list because this is how the titles are listed in the tag pill.

I still have this related discussion that is outstanding. Design approach wanted for dragging a title, move or copy between tags