Skip to content

Syntax highlighting doesn't work for python #2635

@virgile-dev

Description

@virgile-dev

What’s broken?

When I paste python code, the classes are not highlighted

What did you expect to happen?

If I select python, it should highlight classes properly

Steps to reproduce

Capture.video.du.2026-04-08.14-49-11.webm

BlockNote version

Tested here https://www.blocknotejs.org/demo#86w2d

Environment

Firefox 146 64 bit on NixOS

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

    Bugbug:P3Medium: Noticeable but non-blocking issues.sponsorReported by or on behalf of a sponsor or paying customer and eligible for prioritized attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions