v1.22.0
personalizedrefrigerator
released this
12 Nov 06:51
·
84 commits
to main
since this release
What's Changed
- Features
- Improved copy/paste error handling. If copy/paste from a UI button with the clipboard API fails,
js-draw
now attempts to usedocument.execCommand
. Additionally, ifdocument.execCommand
fails, a section that allows manually copying images has been added to the error dialog. - Make rectangle, line, and arrow shape builders public. This allows selecting all built-in pen styles programmatically. For details, see the Pen.setStrokeFactory documentation.
- Increased selection popover menu button size.
- Improved copy/paste error handling. If copy/paste from a UI button with the clipboard API fails,
- Bug fixes
- Pen tool menu: Hide "shape" or "pen type" selectors when they lack content.
- Fix error when calling .flatten on a canvas-backed Display immediately after creating an editor.
- Other changes
- Formatted the
js-draw
codebase withprettier
.
- Formatted the
Full Changelog: v1.21.3...v1.22.0