Screenshot download plugin
Category Plugin
Component
`@blockly/plugin-screenshot
Is your feature request related to a problem? Please describe.
Screenshots are a good way to communicate about code. We can generate a screenshot from within blockly.
Describe the solution you'd like
- A right click option on the workspace that lets you download a screenshot of the whole workspace.
- A right-click option on blocks that lets you download a screenshot of the given block.
Describe alternatives you've considered
Only allow screenshots of individual blocks.
APIs needed in core Blockly
- Possibly https://github.com/google/blockly/issues/3237
Additional context
- https://github.com/google/blockly/issues/2914
- https://github.com/google/blockly/issues/3238
- #245 discusses a smaller project, which is adding it only as a developer tool
Needs discussion
- API
- Tests
- Cross-browser compatibility. The way it is currently implemented in core Blockly doesn't work on some browsers.
@samelhusseini to comment on what needs to be done to make the existing code ready to publish.
Hi - I was wondering if this was considered? We've implemented a plugin for this which we are currently using locally but trying to decide whether the Blockly team want this as a first-party plugin or shall we publish it as a third-party plugin?
Thanks
Hello! We would love to see your screenshot plugin as a third-party plugin! Just a reminder, for third party plugins we are still more than happy to do code reviews, answer any questions you might have, and promote the plugin in our release notes at the end of the quarter. Just let us know if there is any way we can help.
Thanks for the question and definitely looking forward to seeing this as a plugin!