You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When selecting text across multiple lines holding shift and using the down arrow you can't select more than one line as the inline toolbar opens and you start to move through the options. Holding shift and using other arrows does work as expected
Thank you for raising this issue. I happened to come across this repository and wanted to contribute to the discussion.
What you are experiencing may not necessarily be a bug but rather a result of how the inline toolbar behaves. When holding "Shift" and pressing the down arrow, the toolbar opens and indeed interrupts the selection process. However, there’s a simple workaround to continue selecting multiple lines:
After the toolbar opens, press the up arrow once. This action will close the toolbar.
Then, press the down arrow again while holding "Shift" to continue selecting the next line of text.
Once you select more text, the toolbar may reappear. You can repeat this process: press "Shift" + up arrow to close the toolbar, then continue with the down arrow to select more text.
Using this combination of arrows (up to close the toolbar, down to select more text) should allow you to select multiple lines successfully.
I hope this helps! Let me know if you have any further questions.
I feel like that is a abit of work around rather than a solution and not something that would be logical to an end user (our editorjs is customer-facing, like I suspect most are). I can't replicate the same behaviour on any other writing platforms, notion included.
I would think the best behaviour is to be able to keep highlighting behind the inline toolbar (so dont move the keyboard arrow action to the inline toolbar but leave it within the text on page), this how notion works.
When selecting text across multiple lines holding shift and using the down arrow you can't select more than one line as the inline toolbar opens and you start to move through the options. Holding shift and using other arrows does work as expected
No setup needed you can replicate on the demo on https://editorjs.io/.
The text was updated successfully, but these errors were encountered: