Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add advanced fragment handling #3

Merged
merged 23 commits into from
Nov 8, 2024
Merged

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.

1 participant