# Editing note, which is selected from a tag, breaks

**URL:** <https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830>\
**Category:** Development\
**Created:** [16 March 2024 20:17 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830 "2024-03-16T20:17:57Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 20:17 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/1 "2024-03-16T20:17:57Z")

</div>

Hey everyone, on the main `dev` branch.

1. choose any folder.
2. click on any tag that will display the notes attached to this tag.
3. choose a note from the note list.
4. start editing the note.

current behavior:

- the note closes

expected:

- the note doesn't close

here is how to produce it:

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [16 March 2024 20:31 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/2 "2024-03-16T20:31:37Z")

</div>

Doesn't happen for me.  
Does your branch have any of your changes? If so, try without them.

---

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 20:38 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/3 "2024-03-16T20:38:56Z")

</div>

Nope, I pulled the latest changes and switched to dev. I'll try to reproduce it again.

---

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 20:42 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/4 "2024-03-16T20:42:49Z")

</div>

Ohh.. I think I know what the problem is. I'm such an idiot, sorry for wasting your time roman:)

---

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 20:58 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/5 "2024-03-16T20:58:53Z")

</div>

I was able to produce it again, can you check? I'm so confused right now... @roman_r_m

[2024-03-16 22-57-02.mkv](https://discourse.joplinapp.org/uploads/short-url/6CJkvpU3rcQC9lYBkDQWWaR4UPK.mkv) (2.8 MB)

i produced the bug in #4217, but it still work without reproducing #4217

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [16 March 2024 21:01 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/6 "2024-03-16T21:01:23Z")

</div>

Was it your PR? are you sure you've reverted it and ran `yarn install` again? or at least recompiled TypeScript

---

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 21:11 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/7 "2024-03-16T21:11:13Z")

</div>

I'm on dev, i have run `yarn install` from the project root..  
then `yarn watch` from `joplin/packages`..  
then i run `yarn start` from `app-desktop`

but i was able to produce it, i suspect maybe its like a broken `note` entitiy or smth, so i created a new note and tried to reproduce it.. i still was able to...

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [16 March 2024 21:30 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/8 "2024-03-16T21:30:51Z")

</div>

well, if you're able to reliably reproduce it you can try debugging  
i pulled the latest dev and still don't see the issue

---

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 21:39 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/9 "2024-03-16T21:39:51Z")

</div>

thanks for your time, again:)

---

<div class="post-metadata">

**Author:** ![personalizedrefriger](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/personalizedrefriger/32/13210_2.png) [@personalizedrefriger](https://discourse.joplinapp.org/u/personalizedrefriger)\
**Post date:** [16 March 2024 21:49 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/10 "2024-03-16T21:49:42Z")

</div>

I can't seem to reproduce this with tags, but I can consistently reproduce it with notes in the conflicts folder.

---

<div class="post-metadata">

**Author:** ![7adidaz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/7adidaz/32/20686_2.png) [@7adidaz](https://discourse.joplinapp.org/u/7adidaz)\
**Post date:** [16 March 2024 22:14 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/11 "2024-03-16T22:14:44Z")

</div>

Strange.. i'll try to clone in another location and see if i can reproduce

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [16 March 2024 22:56 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/12 "2024-03-16T22:56:58Z")

</div>

> [@7adidaz](#):
>
> then `yarn watch` from `joplin/packages`..

I don't know if that's related but `yarn watch` should be launched from the root, not from /packages

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [16 March 2026 22:57 UTC](https://discourse.joplinapp.org/t/editing-note-which-is-selected-from-a-tag-breaks/36830/13 "2026-03-16T22:57:11Z")

</div>

This topic was automatically closed 730 days after the last reply. New replies are no longer allowed.
