Skip to content

Disable images and tables resizing #1556

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
ClementEXWiki opened this issue Mar 24, 2025 · 0 comments
Open

Disable images and tables resizing #1556

ClementEXWiki opened this issue Mar 24, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ClementEXWiki
Copy link

Is your feature request related to a problem? Please describe.
I'd like to prevent tables and images resizing inside the editor. The reason is that the content written by the user is going to be saved to Markdown in my use case, which doesn't support resizing images or tables.

Allowing users to resize them and then seeing a different result when they re-open the editor is weird, so it would nice to have an option to disable this :)

Describe the solution you'd like
There are several ways this could be done, one could be a simple prop on the BlockNoteView component (as resizing is mainly tied to the UI).

Describe alternatives you've considered
Hiding the handle buttons on images (but this is a dirty hack and it doesn't work on tables).

Additional context
N/A

@ClementEXWiki ClementEXWiki added the enhancement New feature or request label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant