Skip to content

Image resize/toolbar re-renders and breaks when a browser extension (Urban VPN) is enabled #2867

Description

@shovan-bhattacharjee

What’s broken?

When the Urban VPN browser extension is enabled (just installed/enabled — VPN not even connected/started), interacting with an image in the BlockNote editor is broken:

Clicking an image causes a constant re-render — the image toolbar (the floating toolbar above the selected image) flickers and immediately hides after the click.
Image resizing does not work properly — the

Image

resize handles either don't respond or the resize is interrupted by the re-render.
The toolbar can't stay open long enough to use, so images can't be modified or resized.

Disabling the Urban VPN extension makes everything work normally again.

This is not specific to my app — it also reproduces in the official BlockNote example editor (https://www.blocknotejs.org/examples/basic/minimal), so it's reproducible against vanilla BlockNote.

Steps to reproduce:

Install and enable the Urban VPN browser extension (do not connect/start the VPN).
Open the BlockNote example editor (or any BlockNote editor).
Insert an image.
Click the image to select it.
Observe the image toolbar appear and immediately hide; try to drag a resize handle.

Extension: Urban VPN (enabled, not connected)
BlockNote: Latest version

see this video:

Screencast.from.2026-06-23.14-57-52.webm

in this video you can see, how the image element rerender constantly without even any touch.

What did you expect to happen?

Clicking an image should keep the image toolbar open and stable (no re-render loop), and resize handles should let me resize the image normally — regardless of whether the Urban VPN extension is enabled. Browser extensions should not cause the editor to re-render and dismiss the image toolbar.

Steps to reproduce

No response

BlockNote version

0.51.4

Environment

chrome, brave

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions