Skip to content

Conversation

@alecgeatches
Copy link
Contributor

Description

The children and node attribute sources were removed from core usage in 2018 and replaced with html, but were not officially deprecated until 2022. Gutenberg blocks using these attributes still exist in some examples and should be supported.

Due to differences in how PHP's DOMDocument and the JS DOM treat text nodes, there may be some changes in the output of node and children attributes between the block JS implementation and the content API. If users of the API encounter problems using either of these, we can reevaluate how they're processed. For now, they should work in simple cases.

@alecgeatches alecgeatches requested a review from a team as a code owner March 9, 2023 04:42
@alecgeatches alecgeatches self-assigned this Mar 9, 2023
@alecgeatches alecgeatches merged commit 21afa2b into trunk Mar 9, 2023
@alecgeatches alecgeatches deleted the add/node-children-attribute-sources branch March 9, 2023 04:44
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