seek-oss / playroom

Design with JSX, powered by your own component library.
MIT License
4.48k stars 182 forks source link

Add "Toggle comment" key command #321

Closed felixhabib closed 7 months ago

felixhabib commented 7 months ago

Solving issue https://github.com/seek-oss/playroom/issues/295.

Adds keybinding Cmd + / (or, on Windows, Ctrl + /) to toggle comment syntax for the currently selected code.

NB: the additional cypress tests make GitHub actions take a fair bit longer, but will look to fix that in a follow-up PR.

changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: b35c80e772dfe0d66ae7672d62d80de459f0a4e9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------- | ----- | | playroom | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR