notesnook
notesnook copied to clipboard
Cannot make new line after attaching image
What happened?
I discovered that if you try to create a new line after an image, instead of creating the new line, the image deletes because it is still selected.
Steps to reproduce the problem
- Create new note
- Attach an image
- Attempt to create new line below image
- See error
Version
2.1.4
Platform/OS
Android
Relevant log output
No response
Have you tried double tapping on the blank area at the end of a note? It should create a new line.
I just tried it and that did not work. The reason it doesn't work is because the blank area currently does not register as a text box since the new editor was released. I made an issue about this #712 and is currently pending release if I see that correctly, so perhaps that will fix the issue
The reason it doesn't work is because the blank area currently does not register as a text box
That issue was specific to the desktop browsers. Scroll to the end of the note & double tap just above the toolbar: it'll add a new paragraph.
instead of creating the new line, the image deletes because it is still selected.
We can handle this by creating a new line if image is selected & the user presses Enter. (It'll get deleted if some other key is pressed though).
Double tapping above the editor bar creates a new line above the image, and once again it is impossible to remove said line because the cursor is not able to get behind the image, or after to create another line after the image
This has been fixed.