@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 chooseConnectedShape option can pick. New boardToClient is the reverse of clientToBoard. 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, fill and border. Shape colors also take a hex color, see the new isHexColor. 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 createRemoteCursors shows 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.
  • importBoard also opens the files that Excalidraw (.excalidraw) and tldraw (.tldr) save. Each shape in skipped now has a reason, and when the file says, a detail with what it held and a box with where it would be.
  • New Frame shapes group shapes: the shapes in a frame move along with it and are cut off at its edges, and its name shows above it. The frame tool draws a frame, frameShapes puts shapes in a new one, and removeFrame removes a frame and keeps its shapes. Shapes have a new frameId attribute. 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, dash and arrowheadKind styles 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 BoardImage shapes show images on the board. With the new images option, the app uploads the image files that users paste or drop, and addImageFiles adds the files of a file picker.
  • New exportBoard and importBoard save a board to a JSON file and open it again, in place of the board or added to it. New exportBoardSvg and exportBoardImage export shapes as an SVG, PNG or JPEG image.

0.1.0

Minor Changes

  • Initial release of the Whiteboard package.