Skip to content

Conversation

@sirreal
Copy link
Owner

@sirreal sirreal commented Nov 7, 2024

Add debugging for advanced fragments.

Requires WordPress/wordpress-develop#7348.
Requires WordPress/wordpress-develop#7649.

@sirreal
Copy link
Owner Author

sirreal commented Nov 7, 2024

A bit funky with the DOM tree there… 🤔

I think this could inject the context html in the iframe, then use a treewalker to find the last element and set its innerHTML, then read the DOM tree of that node.

@sirreal sirreal marked this pull request as ready for review November 8, 2024 15:03
@sirreal sirreal merged commit 062c947 into main Nov 8, 2024
@sirreal sirreal deleted the add/context-fragment-handling branch November 8, 2024 18: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