# Tagging plugin / (Copy Tags plugin)

**URL:** <https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170>\
**Category:** Plugins\
**Created:** [17 December 2020 14:45 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170 "2020-12-17T14:45:37Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [17 December 2020 14:45 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/1 "2020-12-17T14:45:37Z")

</div>

This is my first attempt with typescript and Joplin plugins.

With the plugin it is possible to copy all tags a note has to other notes.

The JPL package is downloadable from the [GitHub releases](https://github.com/JackGruber/joplin-plugin-tagging/releases).

**Usage**

- Select multiple notes (The first marked note must be the one from which the tags are to be copied)
- Click on `Tools > Copy all Tags`

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [5 January 2021 09:27 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/2 "2021-01-05T09:27:19Z")

</div>

I have added a tagging list through which tags can be applied to all selected notes or deleted.

 ![grafik](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/4/4b764eaadba137f9eee7e019092dbf5de5f2b2ad.png)

❗ **But for the new update at least Joplin v1.6.2 is required** ❗

> **[JackGruber/joplin-plugin-copytags](https://github.com/JackGruber/joplin-plugin-copytags)**
>
> Plugin to extend the Joplin tagging menu with a copy all tags and tagging list with more control.

---

<div class="post-metadata">

**Author:** ![bela53](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@bela53](https://discourse.joplinapp.org/u/bela53)\
**Post date:** [10 January 2021 11:17 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/3 "2021-01-10T11:17:55Z")

</div>

This is awesome, thank you!

As an extension - what do you think of following dialog appearing when you select multiple notes and press "Tagging list" button (akin to Evernote):

![](https://content.invisioncic.com/Mevernote/monthly_2018_07/image.png.3c6396b328f44c4a09c66cb6a442c119.png)  
 [source URL](https://discussion.evernote.com/forums/topic/114964-keyboard-shortcut-for-tags/) (one of the pictures I could find with google "assign tag dialog"). "=Vorlage", "=Zeugnis" etc. are the tag names.

The main points are:

☑ means _all_ selected notes have this tag.

- Uncheck will remove tag from notes.
- Check will add tag to notes.

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/f/ffdca8d2170243eaf231b0941fdc61c23dba5618.png) means _some_ of the selected notes have tag

- Uncheck will remove tag from notes.
- Uncheck and Check will add tag to notes.

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/8/844dfef37d565a260871cb71a7cfc4b41d011db3.png) means none of the selected notes has tag

- Check will add tag to notes.

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/1/199030727407f1b7185c08966c2bf6774dacd06d.png) toggles, if you can see (and add) tags that are not assigned to any note at all.

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/2/269adbf7340b9e8ba224afc38d2822f8491628ea.png) allows to create new tags, which can then be added to selected notes.

This is one of the Evernote features, I honestly miss for organizing/tagging multiple notes. I have thought to implement this myself, though you seem to have quite advanced with your plugin.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [10 January 2021 19:29 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/4 "2021-01-10T19:29:27Z")

</div>

Hi @bela53,

:

> [@bela53](#):
>
> ☑ means _all_ selected notes have this tag.

Already implemented.

> [@bela53](#):
>
> ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/f/ffdca8d2170243eaf231b0941fdc61c23dba5618.png) means _some_ of the selected notes have tag

Already implemented.

> [@bela53](#):
>
> ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/8/844dfef37d565a260871cb71a7cfc4b41d011db3.png) means none of the selected notes has tag

is implemented so that this indicates that these tags will be deleted

> [@bela53](#):
>
> ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/1/199030727407f1b7185c08966c2bf6774dacd06d.png) toggles, if you can see (and add) tags that are not assigned to any note at all.
> 
> ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/2/269adbf7340b9e8ba224afc38d2822f8491628ea.png) allows to create new tags, which can then be added to selected notes.

Tag adding is one of the functions I am implementing.  
But not as a list with all tags, but as it is in Joplin to enter the tags.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [21 May 2021 16:14 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/5 "2021-05-21T16:14:37Z")

</div>

# v1.0.0 (2021-05-21)

There is a completely reworked version of the plugin!

- Rename Plugin to `Tagging`
- Rename `Tagging list` command to `Tagging dialog`
- Add: Tag search on tagging dialog
- Add: Tag creation on tagging dialog

![EMbb16Ph0p](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/6/617b25122ed249efd1f402106534540d3d5f8248.gif)

## v1.0.1 (2021-05-21)

- Fix: Dialog colors on theme change

---

<div class="post-metadata">

**Author:** ![CoarseGrater](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CoarseGrater](https://discourse.joplinapp.org/u/CoarseGrater)\
**Post date:** [1 July 2021 07:56 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/6 "2021-07-01T07:56:37Z")

</div>

Hi there,

love your plugin. Removal of tags works fine. Only adding tags after a tag search does not.  
Plugin can find the tag, I can select it, but then I get an empty space besides the checkbox.

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/9/952c22be33645046a7828d478c52be4a43ddb80b.png)

Using  
Joplin 2.1.7 (prod, win32)  
Revision: 04c4015c8  
Tagging plugin 1.0.1

Cheers,

CoarseGrater

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [1 July 2021 09:50 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/7 "2021-07-01T09:50:04Z")

</div>

HI,

is the tag with a special char?

---

<div class="post-metadata">

**Author:** ![CoarseGrater](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CoarseGrater](https://discourse.joplinapp.org/u/CoarseGrater)\
**Post date:** [1 July 2021 10:13 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/8 "2021-07-01T10:13:14Z")

</div>

Hi Jack,

no, the tag has no special characters or blanks (tag:today).

If I try to tag notes with "today" via your plugin, it does not work the first time. As described, the tag "today" is found when I search for it. I can select it, but then the tag does not show up beside the checkbox.

If I tag each not individually (without your plugin), then I can remove and add the tag again via your plugin.

Cheers,

CoarseGrater

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [1 July 2021 12:39 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/9 "2021-07-01T12:39:51Z")

</div>

Can you post a video?  
I have just tried it in various combinations and cannot replicate it at the moment.

---

<div class="post-metadata">

**Author:** ![CoarseGrater](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CoarseGrater](https://discourse.joplinapp.org/u/CoarseGrater)\
**Post date:** [22 July 2021 07:02 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/10 "2021-07-22T07:02:53Z")

</div>

Sorry JackGruber for late reply! I cannot post a video but with recent Joplin update, the problem seems to not appear anymore! Cheers, CoarseGrater

---

<div class="post-metadata">

**Author:** ![Giacomo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/giacomo/32/11206_2.png) [@Giacomo](https://discourse.joplinapp.org/u/Giacomo)\
**Post date:** [3 January 2022 13:06 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/11 "2022-01-03T13:06:02Z")

</div>

FUNCTION TO FILTER THE LIST OF NOTES BY TAG

Hi Jack,

I wonder if it's maybe possible to have, in the plugin Tagging, a function to filter the list of notes by tag.

Example:

- I search for all the notes with the tag "tags"  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/6/6484d56eec24b072c7539750de4d4e377c739cf6.png)
- I select them all with Ctrl+a
- and click on "Tagging dialog"  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/c/c95f550889c677bc8e9080d0da5ca69a81bda7fb.png)
- I see that some notes, in addition to the tag "tags", have also the tag "firefox" or "thunderbird" or "joplin".  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/c/c9a426fe5a579119f6ae2b8c3b7d9efd89b215a5.png)
- at this point I would like to be able, in some way, to select joplin and filter all the notes that have both the tag "tags" and the tag "joplin".
- at the moment I have to exit the tagging dialog and add tag:joplin to the search manually.  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/2/25af6db7e23a8b5e2b62e60c48de42ed36b2388b.png)

Thanks

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [3 January 2022 14:40 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/12 "2022-01-03T14:40:50Z")

</div>

Hi @Giacomo,

I see what you mean, but the tagging plugin is only for add / remove tags from the selected notes.  
I don't want to add another searchlogic to Joplin in the plugin.

---

<div class="post-metadata">

**Author:** ![Giacomo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/giacomo/32/11206_2.png) [@Giacomo](https://discourse.joplinapp.org/u/Giacomo)\
**Post date:** [3 January 2022 14:48 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/13 "2022-01-03T14:48:24Z")

</div>

Hi @JackGruber

Ok, thanks

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [11 January 2024 19:50 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/14 "2024-01-11T19:50:56Z")

</div>

## v1.0.2 (2024-01-11)

- Add: Screenshots / icon for [https://joplinapp.org/plugins/](https://joplinapp.org/plugins/)

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [12 January 2024 18:32 UTC](https://discourse.joplinapp.org/t/tagging-plugin-copy-tags-plugin/13170/15 "2024-01-12T18:32:00Z")

</div>

## v1.0.3 (2024-01-12)

- Fix: Missing file in jpl after update to generator-joplin@2.13.3
