Skip to content

Commit

Permalink
Refactor, document, and fix image block deprecations (#52081)
Browse files Browse the repository at this point in the history
* Refactor, document, and fix image block deprecations

* Fix v5 attributes & supports

* Fix v1 & v2 deprecation tests

* Rename deprecated test descriptions
  • Loading branch information
ajlende authored Jun 29, 2023
1 parent 3633d94 commit 3c32470
Show file tree
Hide file tree
Showing 21 changed files with 502 additions and 320 deletions.
818 changes: 500 additions & 318 deletions packages/block-library/src/image/deprecated.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"align": "left",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": ""
"caption": []
},
"innerBlocks": []
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"align": "left",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
"caption": [],
"width": 100,
"height": 100
},
Expand Down

0 comments on commit 3c32470

Please sign in to comment.