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
i was facing the same issue and and fixed with a workaround, i thought i should share it so others can use it until the root issue is fixed
what i did is registering a listener on KEY_DOWN_COMMAND to handle Ctrl+A manually and in the listener i just changed the selection with root.select(0, root.getChildrenSize()) which selects all elements in the root node
Screen.Recording.2023-04-19.at.14.43.17.mov
Lexical version: 0.10.0 (if this is what's running on playground.lexical.dev right now)
This could be related to #4357, although in this case the select all keyboard shortcut doesn't select any text at all.
Steps To Reproduce
The current behavior
The select all keyboard shortcut does nothing (or technically speaking, it seems to be selecting everything and deselecting again right after)
The expected behavior
The select all keyboard shortcut should select everything in the editor.
The text was updated successfully, but these errors were encountered: