Columns block: Adding a column creates deprecations in the saved content #27756
Labels
[Block] Columns
Affects the Columns Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Describe the bug
Discovered when testing #27681.
It was probably introduced in #24711.
There is this edge case when adding a new column in the Columns block updates child Column blocks with a number value for
width
attribute. In #24711width
was updated to work with percentage values (or strings? in general) so this triggers deprecation in the editor.To reproduce
Steps to reproduce the behavior:
Expected behavior
When the block is saved it uses with values for Column blocks that don't trigger deprecations.
Screenshots
The text was updated successfully, but these errors were encountered: