Skip to content

fix: set width attribute on image and video elements in editor render#2740

Merged
nperez0111 merged 4 commits into
mainfrom
feat/readonly-image-width
May 14, 2026
Merged

fix: set width attribute on image and video elements in editor render#2740
nperez0111 merged 4 commits into
mainfrom
feat/readonly-image-width

fix: guard previewWidth to avoid emitting width="0" on video elements

32f246c
Select commit
Loading
Failed to load commit list.
pkg.pr.new / Continuous Releases succeeded May 14, 2026 in 0s

Successful

Published successfully.

Details

Open in StackBlitz

@blocknote/ariakit

npm i https://pkg.pr.new/@blocknote/ariakit@32f246c

@blocknote/code-block

npm i https://pkg.pr.new/@blocknote/code-block@32f246c

@blocknote/core

npm i https://pkg.pr.new/@blocknote/core@32f246c

@blocknote/mantine

npm i https://pkg.pr.new/@blocknote/mantine@32f246c

@blocknote/react

npm i https://pkg.pr.new/@blocknote/react@32f246c

@blocknote/server-util

npm i https://pkg.pr.new/@blocknote/server-util@32f246c

@blocknote/shadcn

npm i https://pkg.pr.new/@blocknote/shadcn@32f246c

@blocknote/xl-ai

npm i https://pkg.pr.new/@blocknote/xl-ai@32f246c

@blocknote/xl-docx-exporter

npm i https://pkg.pr.new/@blocknote/xl-docx-exporter@32f246c

@blocknote/xl-email-exporter

npm i https://pkg.pr.new/@blocknote/xl-email-exporter@32f246c

@blocknote/xl-multi-column

npm i https://pkg.pr.new/@blocknote/xl-multi-column@32f246c

@blocknote/xl-odt-exporter

npm i https://pkg.pr.new/@blocknote/xl-odt-exporter@32f246c

@blocknote/xl-pdf-exporter

npm i https://pkg.pr.new/@blocknote/xl-pdf-exporter@32f246c