v3.14.0
This release introduces contextual toolbars for image and video shapes, enhanced cropping options, and a new PathBuilder API.
API changes
- 💥
Editor#getShapePageGeometryremoved. - 💥
Editor#getShapesAtPointnow returns shapes in descending index order. - 💥 Locked shapes cannot be duplicated; pasting locked shapes unlocks them.
- 💥
ShapeUtil.canDropShapesremoved—drag-and-drop participation now requires implementing handlers. - Add
TldrawUiContextualToolbarcomponent enabling developers to create floating toolbars. - Add
PathBuilderAPI for constructing tldraw-style inky and dashed SVGs. - Add arrow binding configuration for controlling when arrows should be exact and/or bind.
- Add
measureScrollWidthoption for text measurement. - Add
defaultAutoplayboolean property forVideoShapeUtil.
Improvements
- Add image and video contextual toolbar with floating controls for enhanced interaction.
- Add download functionality for image and video shapes to download original files.
- Add advanced image cropping options.
- Improve context menu keyboard support.
- Improve style panel keyboard navigation.
- Improve focus management.
- Optimize copy operations.
- Optimize arrow rendering with labels.
- Optimize shape resizing.
- Optimize keyboard interactions.
- Optimize arrow dragging.
- Improve text measurement caching.
Bug fixes
- Fix page menu scrolling behavior.
- Fix undo functionality for sticky creation.
- Fix bookmark hyperlink handling.
- Fix SVG output and vector calculations.
- Fix frame resizing with multiple selections.
- Fix HTML copy-paste positioning.
- Fix keyboard shortcuts and text overflow issues.
Patch releases
v3.14.1
- Fix text measurement bug where styles could leak from one measurement to the next. (#6388)
v3.14.2
- Fix HTML entities being escaped in clipboard operations. (#6396)
Prev
v3.13.0Next
v3.15.0