You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading from wordpress 5.5.1 to wordpress 6.1.1, the custom attributes defined for list block in wordpress 5 are not retained while migrating the list block.
Step-by-step reproduction instructions
Run wordpress 6.1.1
Open the code editor and paste the below html created for wp5 list blocks
Switch to visual editor and let wordpress create the blocks
Open the code editor again and check for someCustomAttribute in the wp:list attributes,
or open the console and execute below command wp.data.select('core/editor').getBlocks().attributes
The code editor in wordpress 6 shows the below html and doesn't have the custom attribute anymore
Description
When upgrading from wordpress 5.5.1 to wordpress 6.1.1, the custom attributes defined for list block in wordpress 5 are not retained while migrating the list block.
Step-by-step reproduction instructions
someCustomAttribute
in the wp:list attributes,or open the console and execute below command
wp.data.select('core/editor').getBlocks().attributes
The code editor in wordpress 6 shows the below html and doesn't have the custom attribute anymore
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: