Skip to content

v1.22.0

Compare
Choose a tag to compare
@personalizedrefrigerator 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 use document.execCommand. Additionally, if document.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.
  • 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 with prettier.

Full Changelog: v1.21.3...v1.22.0