Skip to content

Pasting plain text into a heading block does not keep heading setting #2706

@colinstantos

Description

@colinstantos

What’s broken?

Pasting plain text into a heading block does not keep heading setting.

What did you expect to happen?

I expected the pasted text to stay in heading style

Steps to reproduce

  1. Type "## " so that the heading block gets visible
  2. Paste text (ctrl+v or context menu + paste)

The block is replaced with a normal paragraph one.

BlockNote version

No response

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue has not yet been reviewed or classified by maintainers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions