Skip to content

Commit

Permalink
Support alt- and right-click for tags property
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Oct 4, 2023
1 parent 3b9f8d9 commit 7026bd4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Tag Wrangler",
"author": "PJ Eby",
"authorUrl": "https://github.com/pjeby",
"version": "0.6.0",
"version": "0.6.1",
"minAppVersion": "1.2.8",
"description": "Rename, merge, toggle, and search tags from the tag pane",
"fundingUrl": "https://dirtsimple.org/tips/tag-wrangler",
Expand Down
9 changes: 9 additions & 0 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ export default class TagWrangler extends Plugin {
})
);

this.addChild(
// Property view
new TagPageUIHandler(this, {
hoverSource: "preview", selector: '.metadata-property[data-property-key="tags"] .multi-select-pill-content',
container: ".metadata-properties",
toTag(el) { return el.textContent; }
})
);

this.addChild(
// Edit mode
new TagPageUIHandler(this, {
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.6.1": "1.2.8",
"0.6.0": "1.2.8",
"0.5.13": "1.2.8",
"0.5.12": "1.2.8",
Expand Down

0 comments on commit 7026bd4

Please sign in to comment.