@tiptap-pro/extension-whiteboard changelog
Changelog for @tiptap-pro/extension-whiteboard
0.4.0
Minor Changes
- Add a connected shape from a dot on any side of the selected shape, or with Mod+Enter. Dragging a dot connects the shape it ends on, or adds one there, which the new
chooseConnectedShapeoption can pick. NewboardToClientis the reverse ofclientToBoard. Style the dots with[data-shape-handle='connect']and their preview with[data-connect-preview]. - Geometric shapes get a fill and a border, like in FigJam: the new styles
fillColor,fillandborder. Shape colors also take a hex color, see the newisHexColor. Text that doesn't fit in a geometric shape or a sticky note now ends with "…".
0.3.1
Patch Changes
- Fixed typing right after a double click past the end of a shape's text in Chromium, which could delete the next shape and leave two shapes with the same id.
- Pasted, dropped and imported content can no longer freeze or break the board, and doc frames from other pages start with an empty document.
0.3.0
Minor Changes
- New
createRemoteCursorsshows the cursors of other users on the board, with their names. The cursors move smoothly through the points that their users share and keep their size at every zoom, and the shapes that a user drags move along with their cursor. importBoardalso opens the files that Excalidraw (.excalidraw) and tldraw (.tldr) save. Each shape inskippednow has areason, and when the file says, adetailwith what it held and aboxwith where it would be.- New
Frameshapes group shapes: the shapes in a frame move along with it and are cut off at its edges, and its name shows above it. Theframetool draws a frame,frameShapesputs shapes in a new one, andremoveFrameremoves a frame and keeps its shapes. Shapes have a newframeIdattribute. Update all editors of a board together: an editor on 0.2.0 can't read frames. Depending on its version of y-tiptap, it deletes them for everyone, or shows an empty board that it can't change.
0.2.0
Minor Changes
- Arrows hold a label in the middle of their line, which users write with a double click or Enter. The new
arrowKind,dashandarrowheadKindstyles give arrows curved or elbow lines, dashes or dots, and other heads. The arrow tool now connects every shape with a box, except pen lines, and an end connects at the spot where it is dropped. Update all editors of a board together: an editor on 0.1.0 can't read arrows with labels and can delete them for everyone. - New
BoardImageshapes show images on the board. With the newimagesoption, the app uploads the image files that users paste or drop, andaddImageFilesadds the files of a file picker. - New
exportBoardandimportBoardsave a board to a JSON file and open it again, in place of the board or added to it. NewexportBoardSvgandexportBoardImageexport shapes as an SVG, PNG or JPEG image.
0.1.0
Minor Changes
- Initial release of the Whiteboard package.