BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Disable images and tables resizing

Open ClementEXWiki opened this issue 9 months ago • 0 comments

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 avatar Mar 24 '25 13:03 ClementEXWiki