Releases: personalizedrefrigerator/js-draw
Releases · personalizedrefrigerator/js-draw
v1.26.0
1.26.0
- Bug fixes and improvements
- Selection tool: Improved keyboard focus behavior when opening and closing the selection menu.
- Selection tool: Increased touch target size for the selection menu button.
- Text tool: Fixed text tool edits existing text in some cases when it shouldn't.
- API: Fixed
EditorImage.getLeavesIntersectingRegion
sometimes included items with bounding boxes that do not intersect the target region. - Collaborative editing: Selection tool: Fix duplications created with ctrl+d while moving the selection failed to properly sync.
- Other changes
- Selection UI: Updated the selection overflow menu icon to use IconProvider as the icon source.
- Update license year
- Build system: Migrated from Webpack to ESBuild.
v1.25.0
1.25.0
- New APIs
- Allow overriding the default global clipboard API using
EditorSettings
.
- Allow overriding the default global clipboard API using
- Bug fixes
- Prevent enter from finalizing
TextComponent
s if composing.
- Prevent enter from finalizing
- Other changes
- Allow
text/plain
clipboard data to be auto-detected as SVG when pasting.
- Allow
v1.24.2
1.24.2
- Bug fixes
- Fixed: Nested text components were not rendered near the default maximum zoom level.
- Optimized regular expression in
Mat33
.
v1.24.1
v1.24.0
v1.23.1
1.23.0, 1.23.1
- Features
@js-draw/math
: AddedColor4.fromRGBArray
.@js-draw/material-icons
: Added option to create material icons for a specific instance/version ofjs-draw
. This should allow including@js-draw/material-icons
as a bundle directly from a CDN.
- Bug fixes
- Fix notices specified in editor settings were not shown in the about dialog (commit)
- Other changes
v1.23.0
1.23.0
- Features
@js-draw/math
: AddedColor4.fromRGBArray
.@js-draw/material-icons
: Added option to create material icons for a specific instance/version ofjs-draw
. This should allow including@js-draw/material-icons
as a bundle directly from a CDN.
- Bug fixes
- Fix notices specified in editor settings were not shown in the about dialog (commit)
- Other changes
v1.22.0
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
v1.21.3
1.21.3
- Bug fixes
- Fix
tools/
directory incorrectly in.npmignore
.
- Fix
v1.21.2
- Bug fixes
- Fix copy icon is small when the selection context menu is opened near the screen edge.
- Prevent selection from flashing when opening the context menu by long-pressing outside the selection box.
- Remove from-root imports (
import ... from 'js-draw/...
).
Full Changelog: v1.21.1...v1.21.2