Skip to content

[pull] main from ueberdosis:main - #184

Merged
pull[bot] merged 2 commits into
code:mainfrom
ueberdosis:main
Aug 19, 2026
Merged

[pull] main from ueberdosis:main#184
pull[bot] merged 2 commits into
code:mainfrom
ueberdosis:main

Conversation

@pull

@pull pull Bot commented Aug 19, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

cyphercodes and others added 2 commits August 19, 2026 16:46
…7670)

* fix(react): prevent crash when ReactNodeViewRenderer returns early

When contentComponent is not available, return a minimal valid NodeView
with a placeholder DOM element instead of an empty object. This prevents
ProseMirror from crashing with 'dom.hasAttribute is not a function' when
using custom atom nodes with renderHTML returning text in the initial document.

Fixes #7641

* test(react): cover node view fallback

* Update .changeset/fix-react-node-view-renderer.md

---------

Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
Co-authored-by: Dominik Biedebach <6538827+bdbch@users.noreply.github.com>
* fix(extension-youtube): embed YouTube live URLs

`isValidYoutubeUrl` accepts `youtube.com/live/<id>`, so `setYoutubeVideo`
and the paste rule insert the node, but `getEmbedUrlFromYoutubeUrl` returned
null for it: the id regex only knew `v=`, `list=` and `shorts/`. The result
was an iframe with no src, and the original URL was lost on the next HTML
round trip.

Match `live/` the same way `shorts/` is matched. `youtu.be` is handled
separately just above and is unaffected.

Fixes #8209

* fix(extension-youtube): anchor the shorts and live match to a path boundary

The id regex searched the whole URL, so `youtube.com/notlive/<id>` and
`watch?redirect=live/<id>` both produced an embed for that id. This already
applied to `shorts/` before live was added.

Require the alternatives to start at a path separator, and reword the
changeset to user-facing terms.
@pull pull Bot locked and limited conversation to collaborators Aug 19, 2026
@pull pull Bot added the ⤵️ pull label Aug 19, 2026
@pull
pull Bot merged commit 7b26402 into code:main Aug 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants