when you have a list (regular, checkbox, numbered) at the top of your note, deleting the first line is impossible without removing the list indicator of the second line. i attached a showcase video (sorry for my english)
there's a problem with this method which i didn't showcase in the video: after deleting the list indicator and placing it back, the content below becomes separated. it's fine with regular and check lists (just adds some space), but it breaks numbers in numbered lists
i'm willing to submit a PR
#Problematic to delete the first line in a list
1 messages · Page 1 of 1 (latest)
you can delete the first list item, no?
how? i don't see a way without breaking the list in case it's on the top of your note, as i showed in my video
a shortcut for deleting a line would work, but i don't think Notesnook has one (also willing to add, should be easy)
i removed the list indicator of the first list and then just deleted that line with del
I'm able to delete the first list item, maybe I'm misunderstanding something?
didn't know about del, but i don't think it's convenient to delete text forward (or use a special key to delete a blank line). wouldn't it be better to make list indicator behave like a character that you can move your cursor behind to delete the \n before? can i work on adding this and/or a ctrl + x binding to cut a line if you don't have any text highlighted (like in vscode)?
sorry if my explanation is bad
oh, and also, you don't have del on mobile, so you can't delete the first line at all (without breaking the list)
I see, this sounds like a very unique usecase. Does any other text editor implement this?
i don't know any, but i'm used to Obsidian and Google Keep. in Google Keep, each checklist line is deletable with a button, like in a non-markdown checklist in Notesnook (attached what i mean), and there's no special handling for regular lists and numbered lists so there's no such problem; Obsidian is just a markdown editor with WYSIWYG, so you can move your cursor behind - [ ] and delete the previous line easily