In version 0.2.0 of the quarto-webr
extension, our goal was to improve the accessibility of the code editor used within the extension. To accomplish this, we transitioned from using CodeMirror to Monaco Editor. This change allows for a more accessible code editing experience for all users. We’ve also added the ability to execute code using keyboard shortcuts, such as:
[Cmd + Enter]
on macOS; or[Ctrl + Enter]
on Windows to run selected code; and[Shift + Enter]
to run the entire code area.
Additionally, the code editor now dynamically grows as new lines are added, providing a more seamless editing experience. Finally, we’ve added aria announcements to indicate the status changes of webR initialization states.
This release marks the first time we’ve received a contribution from the community. Special thanks go out to JooYoung Seo (Website).
For more details on the changes, please see the news entry below
quarto-webr
news file entry for version 0.2.0 (2023-05-01)
Breaking Changes
- We’ve transitioned the code editor used in the
quarto-webr
extension to Monaco Editor from CodeMirror for improved accessibility.- Special thanks go out to JooYoung Seo (Website) for identifying the accessibility issue and submitting a pull request to incorporate the editor.
Features
- Code editing areas on the Quarto document now use the Monaco Editor for improved accessibility.
- Execute code using keyboard shortcuts:
- Run selected code using:
[Cmd + Enter]
on macOS or[Ctrl+Enter]
on Windows - Run the entire code area using:
[Shift+Enter]
- Run selected code using:
- Dynamically growing code editor as new lines are added.
- Announcing the status changes of webR initialization states through arias.