Skip to content

Conversation

@eaglethrost
Copy link
Contributor

@eaglethrost eaglethrost commented Dec 11, 2025

PR App Fix RM-XYZ

🧰 Changes

There were 2 bugs regarding [block:embed] magic blocks in mdxish:

  • It could crash the page
  • Even if they don't it wasn't being parsed correctly

Fixes:

  • When parsing embed magic blocks & setting the children, don't send in null as fallback, because it can create a type error later on. Use an empty string instead
  • Create an embed handler to map the embed node to Embed component

🧬 QA & Testing

@eaglethrost eaglethrost marked this pull request as ready for review December 11, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants