Skip to content

Conversation

bdbch
Copy link
Member

@bdbch bdbch commented Apr 25, 2025

Docs of ueberdosis/tiptap#6285

This pull request adds a new feature to the Image node configuration in the src/content/editor/extensions/nodes/image.mdx file, enabling image resizing with customizable options.

New Feature: Image Resizing

  • Added a resize configuration option to the Image node, allowing users to enable resizing for images. This includes specifying resizeable directions (['left', 'right', 'bottom', 'top', 'top-left', 'top-right', 'bottom-left', 'bottom-right']) and setting minimum dimensions (minWidth and minHeight). The feature can also be disabled entirely by setting resize to false. Resize is disabled by default.

Copy link

vercel bot commented Apr 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tiptap-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 25, 2025 11:07pm

@arnaugomez
Copy link
Contributor

I set to draft because the feature is still not merged in Tiptap, it's WIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants