Skip to content

Added docs for resizable image nodes #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

bdbch
Copy link
Member

@bdbch bdbch commented Apr 25, 2025

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

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.

1 participant