Skip to content

Disable images and tables resizing #1556

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions