v3.10.0
Releases
v3.10.0
@tiptap/core
Minor Changes
-
Add a new ResizableNodeview NodeView to core that wraps elements (images, videos, iframes) with configurable resize handles. It provides live onResize/onCommit callbacks, min/max constraints, aspect-ratio support, and styling hooks (class names + data attributes) to improve UX when resizing media inside the editor.
-
the addNodeView function can now return
nullto dynamically disable rendering of a node viewWhile this should not directly cause any issues, it's noteworthy as it still could affect some behavior in some edge cases.
@tiptap/extension-image
Minor Changes
- Added a new
resizeoption that allows images to be resized. The option adds resize handlers to images allowing users to manually resize images via drag and drop or touch