forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grid layout: Use numbers instead of strings for layout attributes (Wo…
…rdPress#63112) * Grid layout: Use numbers instead of strings for layout attributes Ensure columnCount, rowCount, columnStart, rowStart, columnSpan, and rowSpan are always serialized into block attributes as a number, not a string. Previously we were inconsistent. * I am dumb * Update migration comment * Unset columnCount instead of setting it to null * Unset minimumColumnWidth instead of setting it to an empty string * Show slider at 0 if there is no columnCount set * Handle empty strings and invalid numbers in migration
- Loading branch information
1 parent
ec5a26b
commit d0193f5
Showing
5 changed files
with
151 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.