Notepad: persist the entry annotation when hiding the annotation input
Created by: novoselrok
Fixes #33922 (closed)
The notepad annotations were persisted only on textarea blur event, which doesn't work when the textarea is unmounted. Now we persist the entry annotation when hiding the input.
Test plan
- Enable the notepad
- Run a search
- Open the notepad and add the search as a new entry
- Add an annotation, and without leaving the input field (without blurring) hide the input using CMD+Enter
- Create a notebook from the notepad
- The annotation should be persisted in the notebook
App preview:
Check out the client app preview documentation to learn more.