Cannot select single nodeview between 2 texts

Hello there ! Firstly thanks for this awesome library.

ScreenRecording2024-04-08at10.33.29AM-ezgif.com-video-to-gif-converter

I have 2 node views in a row . Whenever i want to select them (with shift+arrowUp) both of them are chosen. Is there any idea that could help me to select only one of them ?

Shift-arrow selection produces a text selection, whose endpoints have to sit at valid text positions. Since there is no text position between these nodes, a text selection that contains only one of them cannot be represented. You could create a node selection (which regular arrow-up will probably do, if the node is set to be selectable), but not a text selection.

Many thanks. do you think is it a idea to overwrite shift+up or it is so hacky ? or any other solutions ?

Probably not a good idea. Let people click or use regular arrow up to create node selections.

1 Like