Skip to content

Image width full option #1131

@softmarshmallow

Description

@softmarshmallow

I am having blocknote import { BlockNoteView } from "@blocknote/mantine"; inside a tailwind prose, image should be full, but I cannot find a way without injecting a css with image selectors. would be nice to have a image full option as it should be responsive on non-editor context.

Current solution with prose:

 <RichText
    value={data.body}
    className="prose prose-invert mx-auto lg:prose-lg prose-img:w-full"
 />

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