Skip to content

Disable images and tables resizing #1556

@ClementEXWiki

Description

@ClementEXWiki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions