Description
In the Images example, pressing Cmd+A after focusing the editor does not select the editor text on the local v2 build. Instead, the image/void nodes show blue selection lines and delete icons.
The live Slate examples page selects the editor body content with the same operation.
Recording
Screenshots attached below:
Local actual behavior:
Live reference expected behavior:
Video attached below:
- Local actual behavior: after pressing
Cmd+A, only the image/void nodes show selected state and delete icons.
- Live reference behavior: after pressing
Cmd+A, the editor body text is selected.
Sandbox
No response.
Local reproduction URL:
http://localhost:3100/examples/images
Live reference URL:
https://www.slatejs.org/examples/images
Steps
To reproduce the behavior:
- Open
http://localhost:3100/examples/images.
- Click inside the editor text so the Images editor has focus.
- Press
Cmd+A once.
- Compare with
https://www.slatejs.org/examples/images using the same steps.
Expectation
The local v2 build should match the live Slate example. Pressing Cmd+A should select the editor body content.
Actual behavior
On the local v2 build, the editor text is not selected. Instead, the image/void nodes show blue selection lines and delete icons.
Environment
- OS: macOS
- Branch:
v2
- Commit:
ce2bd6c6
- Install/run method: local repo with
bun serve
- Affected example:
/examples/images
Impact
The select-all keyboard shortcut behaves inconsistently in the Images example. This makes keyboard editing confusing around image/void nodes and does not match the live reference behavior.
Description
In the Images example, pressing
Cmd+Aafter focusing the editor does not select the editor text on the local v2 build. Instead, the image/void nodes show blue selection lines and delete icons.The live Slate examples page selects the editor body content with the same operation.
Recording
Screenshots attached below:
Local actual behavior:
Live reference expected behavior:
Video attached below:
Cmd+A, only the image/void nodes show selected state and delete icons.Cmd+A, the editor body text is selected.Sandbox
No response.
Local reproduction URL:
http://localhost:3100/examples/imagesLive reference URL:
https://www.slatejs.org/examples/imagesSteps
To reproduce the behavior:
http://localhost:3100/examples/images.Cmd+Aonce.https://www.slatejs.org/examples/imagesusing the same steps.Expectation
The local v2 build should match the live Slate example. Pressing
Cmd+Ashould select the editor body content.Actual behavior
On the local v2 build, the editor text is not selected. Instead, the image/void nodes show blue selection lines and delete icons.
Environment
v2ce2bd6c6bun serve/examples/imagesImpact
The select-all keyboard shortcut behaves inconsistently in the Images example. This makes keyboard editing confusing around image/void nodes and does not match the live reference behavior.