@wordpress/block-library 6.1.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (494) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +7 -1
  3. package/build/audio/edit.js +1 -1
  4. package/build/audio/edit.js.map +1 -1
  5. package/build/button/index.js +5 -1
  6. package/build/button/index.js.map +1 -1
  7. package/build/calendar/index.js +4 -1
  8. package/build/calendar/index.js.map +1 -1
  9. package/build/calendar/transforms.js +27 -0
  10. package/build/calendar/transforms.js.map +1 -0
  11. package/build/code/index.js +5 -1
  12. package/build/code/index.js.map +1 -1
  13. package/build/code/transforms.js +1 -1
  14. package/build/code/transforms.js.map +1 -1
  15. package/build/column/index.js +5 -1
  16. package/build/column/index.js.map +1 -1
  17. package/build/columns/index.js +5 -1
  18. package/build/columns/index.js.map +1 -1
  19. package/build/comment-author-avatar/index.js +4 -1
  20. package/build/comment-author-avatar/index.js.map +1 -1
  21. package/build/comment-author-name/index.js +6 -1
  22. package/build/comment-author-name/index.js.map +1 -1
  23. package/build/comment-content/index.js +5 -1
  24. package/build/comment-content/index.js.map +1 -1
  25. package/build/comment-date/index.js +6 -1
  26. package/build/comment-date/index.js.map +1 -1
  27. package/build/comment-edit-link/index.js +5 -1
  28. package/build/comment-edit-link/index.js.map +1 -1
  29. package/build/comment-reply-link/index.js +5 -1
  30. package/build/comment-reply-link/index.js.map +1 -1
  31. package/build/comment-template/edit.js +49 -11
  32. package/build/comment-template/edit.js.map +1 -1
  33. package/build/comments-pagination/index.js +6 -1
  34. package/build/comments-pagination/index.js.map +1 -1
  35. package/build/comments-pagination-next/index.js +4 -1
  36. package/build/comments-pagination-next/index.js.map +1 -1
  37. package/build/comments-pagination-previous/index.js +4 -1
  38. package/build/comments-pagination-previous/index.js.map +1 -1
  39. package/build/comments-query-loop/index.js +6 -1
  40. package/build/comments-query-loop/index.js.map +1 -1
  41. package/build/cover/deprecated.js +181 -15
  42. package/build/cover/deprecated.js.map +1 -1
  43. package/build/cover/edit.js +7 -4
  44. package/build/cover/edit.js.map +1 -1
  45. package/build/cover/save.js +8 -3
  46. package/build/cover/save.js.map +1 -1
  47. package/build/gallery/constants.js +5 -1
  48. package/build/gallery/constants.js.map +1 -1
  49. package/build/gallery/edit.js +26 -14
  50. package/build/gallery/edit.js.map +1 -1
  51. package/build/gallery/shared.js +1 -1
  52. package/build/gallery/shared.js.map +1 -1
  53. package/build/gallery/transforms.js +8 -2
  54. package/build/gallery/transforms.js.map +1 -1
  55. package/build/gallery/utils.js +4 -3
  56. package/build/gallery/utils.js.map +1 -1
  57. package/build/group/index.js +5 -1
  58. package/build/group/index.js.map +1 -1
  59. package/build/group/variations.js +18 -3
  60. package/build/group/variations.js.map +1 -1
  61. package/build/heading/index.js +5 -1
  62. package/build/heading/index.js.map +1 -1
  63. package/build/heading/transforms.js +7 -5
  64. package/build/heading/transforms.js.map +1 -1
  65. package/build/image/edit.native.js +55 -15
  66. package/build/image/edit.native.js.map +1 -1
  67. package/build/index.js +7 -3
  68. package/build/index.js.map +1 -1
  69. package/build/latest-posts/edit.js +46 -57
  70. package/build/latest-posts/edit.js.map +1 -1
  71. package/build/list/index.js +5 -1
  72. package/build/list/index.js.map +1 -1
  73. package/build/media-text/index.js +5 -1
  74. package/build/media-text/index.js.map +1 -1
  75. package/build/navigation/edit/existing-menus-options.js +62 -0
  76. package/build/navigation/edit/existing-menus-options.js.map +1 -0
  77. package/build/navigation/edit/index.js +4 -5
  78. package/build/navigation/edit/index.js.map +1 -1
  79. package/build/navigation/edit/inner-blocks.js +7 -3
  80. package/build/navigation/edit/inner-blocks.js.map +1 -1
  81. package/build/navigation/edit/navigation-menu-selector.js +25 -33
  82. package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
  83. package/build/navigation/edit/overlay-menu-icon.js +0 -1
  84. package/build/navigation/edit/overlay-menu-icon.js.map +1 -1
  85. package/build/navigation/edit/placeholder/index.js +26 -71
  86. package/build/navigation/edit/placeholder/index.js.map +1 -1
  87. package/build/navigation/edit/placeholder/placeholder-preview.js +8 -12
  88. package/build/navigation/edit/placeholder/placeholder-preview.js.map +1 -1
  89. package/build/paragraph/index.js +5 -1
  90. package/build/paragraph/index.js.map +1 -1
  91. package/build/paragraph/transforms.js +5 -1
  92. package/build/paragraph/transforms.js.map +1 -1
  93. package/build/post-author/index.js +5 -1
  94. package/build/post-author/index.js.map +1 -1
  95. package/build/post-author-biography/edit.js +76 -0
  96. package/build/post-author-biography/edit.js.map +1 -0
  97. package/build/post-author-biography/index.js +68 -0
  98. package/build/post-author-biography/index.js.map +1 -0
  99. package/build/post-author-name/index.js +6 -1
  100. package/build/post-author-name/index.js.map +1 -1
  101. package/build/post-comments/index.js +5 -1
  102. package/build/post-comments/index.js.map +1 -1
  103. package/build/post-comments-count/index.js +5 -1
  104. package/build/post-comments-count/index.js.map +1 -1
  105. package/build/post-comments-form/index.js +5 -1
  106. package/build/post-comments-form/index.js.map +1 -1
  107. package/build/post-comments-link/index.js +5 -1
  108. package/build/post-comments-link/index.js.map +1 -1
  109. package/build/post-content/edit.js +9 -3
  110. package/build/post-content/edit.js.map +1 -1
  111. package/build/post-date/index.js +6 -1
  112. package/build/post-date/index.js.map +1 -1
  113. package/build/post-excerpt/index.js +6 -1
  114. package/build/post-excerpt/index.js.map +1 -1
  115. package/build/post-terms/index.js +9 -1
  116. package/build/post-terms/index.js.map +1 -1
  117. package/build/post-title/edit.js +10 -7
  118. package/build/post-title/edit.js.map +1 -1
  119. package/build/post-title/index.js +6 -1
  120. package/build/post-title/index.js.map +1 -1
  121. package/build/preformatted/index.js +5 -1
  122. package/build/preformatted/index.js.map +1 -1
  123. package/build/pullquote/index.js +5 -1
  124. package/build/pullquote/index.js.map +1 -1
  125. package/build/query/index.js +5 -1
  126. package/build/query/index.js.map +1 -1
  127. package/build/query-pagination/index.js +6 -1
  128. package/build/query-pagination/index.js.map +1 -1
  129. package/build/query-pagination-next/index.js +4 -1
  130. package/build/query-pagination-next/index.js.map +1 -1
  131. package/build/query-pagination-previous/index.js +4 -1
  132. package/build/query-pagination-previous/index.js.map +1 -1
  133. package/build/query-title/index.js +8 -1
  134. package/build/query-title/index.js.map +1 -1
  135. package/build/quote/index.js +1 -5
  136. package/build/quote/index.js.map +1 -1
  137. package/build/read-more/edit.js +55 -0
  138. package/build/read-more/edit.js.map +1 -0
  139. package/build/read-more/index.js +87 -0
  140. package/build/read-more/index.js.map +1 -0
  141. package/build/search/edit.js +1 -1
  142. package/build/search/edit.js.map +1 -1
  143. package/build/search/index.js +5 -1
  144. package/build/search/index.js.map +1 -1
  145. package/build/site-logo/edit.js +4 -8
  146. package/build/site-logo/edit.js.map +1 -1
  147. package/build/site-tagline/edit.js +7 -2
  148. package/build/site-tagline/edit.js.map +1 -1
  149. package/build/site-tagline/index.js +5 -1
  150. package/build/site-tagline/index.js.map +1 -1
  151. package/build/site-title/index.js +6 -1
  152. package/build/site-title/index.js.map +1 -1
  153. package/build/social-link/edit.js +8 -1
  154. package/build/social-link/edit.js.map +1 -1
  155. package/build/social-link/index.js +1 -1
  156. package/build/social-links/edit.js +7 -2
  157. package/build/social-links/edit.js.map +1 -1
  158. package/build/social-links/index.js +5 -0
  159. package/build/social-links/index.js.map +1 -1
  160. package/build/social-links/save.js +2 -0
  161. package/build/social-links/save.js.map +1 -1
  162. package/build/table/index.js +5 -1
  163. package/build/table/index.js.map +1 -1
  164. package/build/tag-cloud/index.js +12 -1
  165. package/build/tag-cloud/index.js.map +1 -1
  166. package/build/tag-cloud/transforms.js +27 -0
  167. package/build/tag-cloud/transforms.js.map +1 -0
  168. package/build/term-description/index.js +5 -1
  169. package/build/term-description/index.js.map +1 -1
  170. package/build/verse/index.js +5 -1
  171. package/build/verse/index.js.map +1 -1
  172. package/build-module/audio/edit.js +1 -1
  173. package/build-module/audio/edit.js.map +1 -1
  174. package/build-module/button/index.js +5 -1
  175. package/build-module/button/index.js.map +1 -1
  176. package/build-module/calendar/index.js +3 -1
  177. package/build-module/calendar/index.js.map +1 -1
  178. package/build-module/calendar/transforms.js +18 -0
  179. package/build-module/calendar/transforms.js.map +1 -0
  180. package/build-module/code/index.js +5 -1
  181. package/build-module/code/index.js.map +1 -1
  182. package/build-module/code/transforms.js +1 -1
  183. package/build-module/code/transforms.js.map +1 -1
  184. package/build-module/column/index.js +5 -1
  185. package/build-module/column/index.js.map +1 -1
  186. package/build-module/columns/index.js +5 -1
  187. package/build-module/columns/index.js.map +1 -1
  188. package/build-module/comment-author-avatar/index.js +4 -1
  189. package/build-module/comment-author-avatar/index.js.map +1 -1
  190. package/build-module/comment-author-name/index.js +6 -1
  191. package/build-module/comment-author-name/index.js.map +1 -1
  192. package/build-module/comment-content/index.js +5 -1
  193. package/build-module/comment-content/index.js.map +1 -1
  194. package/build-module/comment-date/index.js +6 -1
  195. package/build-module/comment-date/index.js.map +1 -1
  196. package/build-module/comment-edit-link/index.js +5 -1
  197. package/build-module/comment-edit-link/index.js.map +1 -1
  198. package/build-module/comment-reply-link/index.js +5 -1
  199. package/build-module/comment-reply-link/index.js.map +1 -1
  200. package/build-module/comment-template/edit.js +48 -13
  201. package/build-module/comment-template/edit.js.map +1 -1
  202. package/build-module/comments-pagination/index.js +6 -1
  203. package/build-module/comments-pagination/index.js.map +1 -1
  204. package/build-module/comments-pagination-next/index.js +4 -1
  205. package/build-module/comments-pagination-next/index.js.map +1 -1
  206. package/build-module/comments-pagination-previous/index.js +4 -1
  207. package/build-module/comments-pagination-previous/index.js.map +1 -1
  208. package/build-module/comments-query-loop/index.js +6 -1
  209. package/build-module/comments-query-loop/index.js.map +1 -1
  210. package/build-module/cover/deprecated.js +185 -17
  211. package/build-module/cover/deprecated.js.map +1 -1
  212. package/build-module/cover/edit.js +7 -4
  213. package/build-module/cover/edit.js.map +1 -1
  214. package/build-module/cover/save.js +8 -3
  215. package/build-module/cover/save.js.map +1 -1
  216. package/build-module/gallery/constants.js +2 -0
  217. package/build-module/gallery/constants.js.map +1 -1
  218. package/build-module/gallery/edit.js +25 -14
  219. package/build-module/gallery/edit.js.map +1 -1
  220. package/build-module/gallery/shared.js +1 -1
  221. package/build-module/gallery/shared.js.map +1 -1
  222. package/build-module/gallery/transforms.js +8 -2
  223. package/build-module/gallery/transforms.js.map +1 -1
  224. package/build-module/gallery/utils.js +5 -4
  225. package/build-module/gallery/utils.js.map +1 -1
  226. package/build-module/group/index.js +5 -1
  227. package/build-module/group/index.js.map +1 -1
  228. package/build-module/group/variations.js +18 -3
  229. package/build-module/group/variations.js.map +1 -1
  230. package/build-module/heading/index.js +5 -1
  231. package/build-module/heading/index.js.map +1 -1
  232. package/build-module/heading/transforms.js +7 -5
  233. package/build-module/heading/transforms.js.map +1 -1
  234. package/build-module/image/edit.native.js +54 -15
  235. package/build-module/image/edit.native.js.map +1 -1
  236. package/build-module/index.js +5 -3
  237. package/build-module/index.js.map +1 -1
  238. package/build-module/latest-posts/edit.js +47 -58
  239. package/build-module/latest-posts/edit.js.map +1 -1
  240. package/build-module/list/index.js +5 -1
  241. package/build-module/list/index.js.map +1 -1
  242. package/build-module/media-text/index.js +5 -1
  243. package/build-module/media-text/index.js.map +1 -1
  244. package/build-module/navigation/edit/existing-menus-options.js +53 -0
  245. package/build-module/navigation/edit/existing-menus-options.js.map +1 -0
  246. package/build-module/navigation/edit/index.js +4 -5
  247. package/build-module/navigation/edit/index.js.map +1 -1
  248. package/build-module/navigation/edit/inner-blocks.js +8 -4
  249. package/build-module/navigation/edit/inner-blocks.js.map +1 -1
  250. package/build-module/navigation/edit/navigation-menu-selector.js +26 -33
  251. package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
  252. package/build-module/navigation/edit/overlay-menu-icon.js +0 -1
  253. package/build-module/navigation/edit/overlay-menu-icon.js.map +1 -1
  254. package/build-module/navigation/edit/placeholder/index.js +26 -71
  255. package/build-module/navigation/edit/placeholder/index.js.map +1 -1
  256. package/build-module/navigation/edit/placeholder/placeholder-preview.js +8 -13
  257. package/build-module/navigation/edit/placeholder/placeholder-preview.js.map +1 -1
  258. package/build-module/paragraph/index.js +5 -1
  259. package/build-module/paragraph/index.js.map +1 -1
  260. package/build-module/paragraph/transforms.js +5 -1
  261. package/build-module/paragraph/transforms.js.map +1 -1
  262. package/build-module/post-author/index.js +5 -1
  263. package/build-module/post-author/index.js.map +1 -1
  264. package/build-module/post-author-biography/edit.js +64 -0
  265. package/build-module/post-author-biography/edit.js.map +1 -0
  266. package/build-module/post-author-biography/index.js +59 -0
  267. package/build-module/post-author-biography/index.js.map +1 -0
  268. package/build-module/post-author-name/index.js +6 -1
  269. package/build-module/post-author-name/index.js.map +1 -1
  270. package/build-module/post-comments/index.js +5 -1
  271. package/build-module/post-comments/index.js.map +1 -1
  272. package/build-module/post-comments-count/index.js +5 -1
  273. package/build-module/post-comments-count/index.js.map +1 -1
  274. package/build-module/post-comments-form/index.js +5 -1
  275. package/build-module/post-comments-form/index.js.map +1 -1
  276. package/build-module/post-comments-link/index.js +5 -1
  277. package/build-module/post-comments-link/index.js.map +1 -1
  278. package/build-module/post-content/edit.js +6 -4
  279. package/build-module/post-content/edit.js.map +1 -1
  280. package/build-module/post-date/index.js +6 -1
  281. package/build-module/post-date/index.js.map +1 -1
  282. package/build-module/post-excerpt/index.js +6 -1
  283. package/build-module/post-excerpt/index.js.map +1 -1
  284. package/build-module/post-terms/index.js +12 -1
  285. package/build-module/post-terms/index.js.map +1 -1
  286. package/build-module/post-title/edit.js +10 -8
  287. package/build-module/post-title/edit.js.map +1 -1
  288. package/build-module/post-title/index.js +6 -1
  289. package/build-module/post-title/index.js.map +1 -1
  290. package/build-module/preformatted/index.js +5 -1
  291. package/build-module/preformatted/index.js.map +1 -1
  292. package/build-module/pullquote/index.js +5 -1
  293. package/build-module/pullquote/index.js.map +1 -1
  294. package/build-module/query/index.js +5 -1
  295. package/build-module/query/index.js.map +1 -1
  296. package/build-module/query-pagination/index.js +6 -1
  297. package/build-module/query-pagination/index.js.map +1 -1
  298. package/build-module/query-pagination-next/index.js +4 -1
  299. package/build-module/query-pagination-next/index.js.map +1 -1
  300. package/build-module/query-pagination-previous/index.js +4 -1
  301. package/build-module/query-pagination-previous/index.js.map +1 -1
  302. package/build-module/query-title/index.js +11 -1
  303. package/build-module/query-title/index.js.map +1 -1
  304. package/build-module/quote/index.js +1 -5
  305. package/build-module/quote/index.js.map +1 -1
  306. package/build-module/read-more/edit.js +41 -0
  307. package/build-module/read-more/edit.js.map +1 -0
  308. package/build-module/read-more/index.js +74 -0
  309. package/build-module/read-more/index.js.map +1 -0
  310. package/build-module/search/edit.js +1 -1
  311. package/build-module/search/edit.js.map +1 -1
  312. package/build-module/search/index.js +5 -1
  313. package/build-module/search/index.js.map +1 -1
  314. package/build-module/site-logo/edit.js +4 -8
  315. package/build-module/site-logo/edit.js.map +1 -1
  316. package/build-module/site-tagline/edit.js +6 -2
  317. package/build-module/site-tagline/edit.js.map +1 -1
  318. package/build-module/site-tagline/index.js +5 -1
  319. package/build-module/site-tagline/index.js.map +1 -1
  320. package/build-module/site-title/index.js +6 -1
  321. package/build-module/site-title/index.js.map +1 -1
  322. package/build-module/social-link/edit.js +8 -1
  323. package/build-module/social-link/edit.js.map +1 -1
  324. package/build-module/social-link/index.js +1 -1
  325. package/build-module/social-links/edit.js +7 -2
  326. package/build-module/social-links/edit.js.map +1 -1
  327. package/build-module/social-links/index.js +5 -0
  328. package/build-module/social-links/index.js.map +1 -1
  329. package/build-module/social-links/save.js +2 -0
  330. package/build-module/social-links/save.js.map +1 -1
  331. package/build-module/table/index.js +5 -1
  332. package/build-module/table/index.js.map +1 -1
  333. package/build-module/tag-cloud/index.js +11 -1
  334. package/build-module/tag-cloud/index.js.map +1 -1
  335. package/build-module/tag-cloud/transforms.js +18 -0
  336. package/build-module/tag-cloud/transforms.js.map +1 -0
  337. package/build-module/term-description/index.js +5 -1
  338. package/build-module/term-description/index.js.map +1 -1
  339. package/build-module/verse/index.js +5 -1
  340. package/build-module/verse/index.js.map +1 -1
  341. package/build-style/common-rtl.css +8 -0
  342. package/build-style/common.css +8 -0
  343. package/build-style/cover/style-rtl.css +115 -11
  344. package/build-style/cover/style.css +115 -11
  345. package/build-style/editor-rtl.css +77 -67
  346. package/build-style/editor.css +77 -67
  347. package/build-style/gallery/style-rtl.css +2 -1
  348. package/build-style/gallery/style.css +2 -1
  349. package/build-style/image/style-rtl.css +0 -2
  350. package/build-style/image/style.css +0 -2
  351. package/build-style/navigation/editor-rtl.css +77 -67
  352. package/build-style/navigation/editor.css +77 -67
  353. package/build-style/quote/style-rtl.css +5 -5
  354. package/build-style/quote/style.css +5 -5
  355. package/build-style/read-more/style-rtl.css +87 -0
  356. package/build-style/read-more/style.css +87 -0
  357. package/build-style/separator/style-rtl.css +0 -3
  358. package/build-style/separator/style.css +0 -3
  359. package/build-style/social-links/style-rtl.css +7 -1
  360. package/build-style/social-links/style.css +7 -1
  361. package/build-style/style-rtl.css +149 -23
  362. package/build-style/style.css +149 -23
  363. package/package.json +28 -30
  364. package/src/audio/edit.js +1 -1
  365. package/src/block/test/edit.native.js +7 -3
  366. package/src/button/block.json +5 -1
  367. package/src/buttons/test/edit.native.js +2 -2
  368. package/src/calendar/index.js +2 -0
  369. package/src/calendar/transforms.js +23 -0
  370. package/src/code/block.json +5 -1
  371. package/src/code/transforms.js +1 -1
  372. package/src/column/block.json +5 -1
  373. package/src/columns/block.json +5 -1
  374. package/src/comment-author-avatar/block.json +4 -1
  375. package/src/comment-author-name/block.json +6 -1
  376. package/src/comment-content/block.json +5 -1
  377. package/src/comment-date/block.json +6 -1
  378. package/src/comment-date/index.php +1 -1
  379. package/src/comment-edit-link/block.json +5 -1
  380. package/src/comment-reply-link/block.json +5 -1
  381. package/src/comment-template/edit.js +59 -14
  382. package/src/comments-pagination/block.json +6 -1
  383. package/src/comments-pagination-next/block.json +4 -1
  384. package/src/comments-pagination-previous/block.json +4 -1
  385. package/src/comments-query-loop/block.json +6 -1
  386. package/src/common.scss +9 -0
  387. package/src/cover/deprecated.js +211 -1
  388. package/src/cover/edit.js +8 -4
  389. package/src/cover/save.js +10 -4
  390. package/src/cover/style.scss +20 -2
  391. package/src/cover/test/__snapshots__/edit.native.js.snap +4 -4
  392. package/src/cover/test/edit.native.js +8 -4
  393. package/src/embed/test/index.native.js +6 -6
  394. package/src/gallery/constants.js +2 -0
  395. package/src/gallery/edit.js +31 -13
  396. package/src/gallery/shared.js +1 -1
  397. package/src/gallery/style.scss +4 -1
  398. package/src/gallery/test/__snapshots__/index.native.js.snap +7 -0
  399. package/src/gallery/test/index.native.js +128 -0
  400. package/src/gallery/transforms.js +7 -1
  401. package/src/gallery/utils.js +7 -3
  402. package/src/group/block.json +5 -1
  403. package/src/group/variations.js +11 -1
  404. package/src/heading/block.json +5 -1
  405. package/src/heading/transforms.js +2 -5
  406. package/src/image/edit.native.js +65 -15
  407. package/src/image/index.php +1 -1
  408. package/src/image/style.scss +0 -2
  409. package/src/image/test/edit.native.js +157 -8
  410. package/src/index.js +35 -31
  411. package/src/latest-comments/index.php +4 -4
  412. package/src/latest-posts/edit.js +51 -63
  413. package/src/latest-posts/index.php +3 -3
  414. package/src/list/block.json +5 -1
  415. package/src/media-text/block.json +5 -1
  416. package/src/missing/test/edit-integration.native.js +2 -2
  417. package/src/navigation/edit/existing-menus-options.js +70 -0
  418. package/src/navigation/edit/index.js +4 -3
  419. package/src/navigation/edit/inner-blocks.js +16 -3
  420. package/src/navigation/edit/navigation-menu-selector.js +38 -62
  421. package/src/navigation/edit/overlay-menu-icon.js +0 -1
  422. package/src/navigation/edit/placeholder/index.js +39 -108
  423. package/src/navigation/edit/placeholder/placeholder-preview.js +8 -10
  424. package/src/navigation/editor.scss +119 -100
  425. package/src/navigation/index.php +3 -3
  426. package/src/navigation-link/index.php +1 -1
  427. package/src/navigation-submenu/index.php +1 -1
  428. package/src/page-list/index.php +5 -5
  429. package/src/paragraph/block.json +5 -1
  430. package/src/post-author/block.json +5 -1
  431. package/src/post-author-biography/block.json +41 -0
  432. package/src/post-author-biography/edit.js +63 -0
  433. package/src/post-author-biography/index.js +18 -0
  434. package/src/post-author-biography/index.php +48 -0
  435. package/src/post-author-name/block.json +6 -1
  436. package/src/post-comments/block.json +5 -1
  437. package/src/post-comments-count/block.json +5 -1
  438. package/src/post-comments-form/block.json +5 -1
  439. package/src/post-comments-link/block.json +5 -1
  440. package/src/post-comments-link/index.php +2 -2
  441. package/src/post-content/edit.js +4 -4
  442. package/src/post-date/block.json +6 -1
  443. package/src/post-date/index.php +1 -1
  444. package/src/post-excerpt/block.json +6 -1
  445. package/src/post-excerpt/index.php +1 -1
  446. package/src/post-terms/block.json +6 -1
  447. package/src/post-terms/index.js +6 -0
  448. package/src/post-title/block.json +6 -1
  449. package/src/post-title/edit.js +8 -7
  450. package/src/post-title/index.php +1 -1
  451. package/src/preformatted/block.json +5 -1
  452. package/src/pullquote/block.json +5 -1
  453. package/src/query/block.json +5 -1
  454. package/src/query-pagination/block.json +6 -1
  455. package/src/query-pagination-next/block.json +4 -1
  456. package/src/query-pagination-next/index.php +2 -2
  457. package/src/query-pagination-previous/block.json +4 -1
  458. package/src/query-pagination-previous/index.php +2 -2
  459. package/src/query-title/block.json +5 -1
  460. package/src/query-title/index.js +6 -0
  461. package/src/quote/block.json +1 -2
  462. package/src/quote/index.js +0 -1
  463. package/src/quote/style.scss +3 -3
  464. package/src/quote/theme.scss +1 -1
  465. package/src/read-more/block.json +56 -0
  466. package/src/read-more/edit.js +50 -0
  467. package/src/read-more/index.js +18 -0
  468. package/src/read-more/index.php +45 -0
  469. package/src/read-more/style.scss +12 -0
  470. package/src/search/block.json +5 -1
  471. package/src/search/edit.js +2 -1
  472. package/src/search/index.php +5 -3
  473. package/src/separator/style.scss +0 -5
  474. package/src/site-logo/edit.js +4 -8
  475. package/src/site-tagline/block.json +5 -1
  476. package/src/site-tagline/edit.js +10 -1
  477. package/src/site-tagline/index.php +1 -1
  478. package/src/site-title/block.json +6 -1
  479. package/src/site-title/index.php +2 -2
  480. package/src/social-link/block.json +1 -0
  481. package/src/social-link/edit.js +14 -2
  482. package/src/social-link/index.php +55 -52
  483. package/src/social-links/block.json +5 -0
  484. package/src/social-links/edit.js +8 -1
  485. package/src/social-links/save.js +7 -1
  486. package/src/social-links/style.scss +8 -1
  487. package/src/style.scss +1 -0
  488. package/src/table/block.json +5 -1
  489. package/src/tag-cloud/block.json +4 -0
  490. package/src/tag-cloud/index.js +2 -0
  491. package/src/tag-cloud/index.php +0 -9
  492. package/src/tag-cloud/transforms.js +23 -0
  493. package/src/term-description/block.json +5 -1
  494. package/src/verse/block.json +5 -1
@@ -0,0 +1,63 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import classnames from 'classnames';
5
+
6
+ /**
7
+ * WordPress dependencies
8
+ */
9
+ import {
10
+ AlignmentControl,
11
+ BlockControls,
12
+ useBlockProps,
13
+ } from '@wordpress/block-editor';
14
+ import { useSelect } from '@wordpress/data';
15
+ import { __ } from '@wordpress/i18n';
16
+ import { store as coreStore } from '@wordpress/core-data';
17
+
18
+ function PostAuthorBiographyEdit( {
19
+ context: { postType, postId },
20
+ attributes: { textAlign },
21
+ setAttributes,
22
+ } ) {
23
+ const { authorDetails } = useSelect(
24
+ ( select ) => {
25
+ const { getEditedEntityRecord, getUser } = select( coreStore );
26
+ const _authorId = getEditedEntityRecord(
27
+ 'postType',
28
+ postType,
29
+ postId
30
+ )?.author;
31
+
32
+ return {
33
+ authorDetails: _authorId ? getUser( _authorId ) : null,
34
+ };
35
+ },
36
+ [ postType, postId ]
37
+ );
38
+
39
+ const blockProps = useBlockProps( {
40
+ className: classnames( {
41
+ [ `has-text-align-${ textAlign }` ]: textAlign,
42
+ } ),
43
+ } );
44
+
45
+ const displayAuthorBiography =
46
+ authorDetails?.description || __( 'Author Biography' );
47
+
48
+ return (
49
+ <>
50
+ <BlockControls group="block">
51
+ <AlignmentControl
52
+ value={ textAlign }
53
+ onChange={ ( nextAlign ) => {
54
+ setAttributes( { textAlign: nextAlign } );
55
+ } }
56
+ />
57
+ </BlockControls>
58
+ <div { ...blockProps }> { displayAuthorBiography } </div>
59
+ </>
60
+ );
61
+ }
62
+
63
+ export default PostAuthorBiographyEdit;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import metadata from './block.json';
5
+ import edit from './edit';
6
+
7
+ /**
8
+ * WordPress dependencies
9
+ */
10
+ import { postAuthor as icon } from '@wordpress/icons';
11
+
12
+ const { name } = metadata;
13
+ export { metadata, name };
14
+
15
+ export const settings = {
16
+ icon,
17
+ edit,
18
+ };
@@ -0,0 +1,48 @@
1
+ <?php
2
+ /**
3
+ * Server-side rendering of the `core/post-author-biography` block.
4
+ *
5
+ * @package WordPress
6
+ */
7
+
8
+ /**
9
+ * Renders the `core/post-author-biography` block on the server.
10
+ *
11
+ * @param array $attributes Block attributes.
12
+ * @param string $content Block default content.
13
+ * @param WP_Block $block Block instance.
14
+ * @return string Returns the rendered post author biography block.
15
+ */
16
+ function render_block_core_post_author_biography( $attributes, $content, $block ) {
17
+ if ( ! isset( $block->context['postId'] ) ) {
18
+ return '';
19
+ }
20
+
21
+ $author_id = get_post_field( 'post_author', $block->context['postId'] );
22
+ if ( empty( $author_id ) ) {
23
+ return '';
24
+ }
25
+
26
+ $author_biography = get_the_author_meta( 'description', $author_id );
27
+ if ( empty( $author_biography ) ) {
28
+ return '';
29
+ }
30
+
31
+ $align_class_name = empty( $attributes['textAlign'] ) ? '' : "has-text-align-{$attributes['textAlign']}";
32
+ $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) );
33
+
34
+ return sprintf( '<div %1$s>', $wrapper_attributes ) . $author_biography . '</div>';
35
+ }
36
+
37
+ /**
38
+ * Registers the `core/post-author-biography` block on the server.
39
+ */
40
+ function register_block_core_post_author_biography() {
41
+ register_block_type_from_metadata(
42
+ __DIR__ . '/post-author-biography',
43
+ array(
44
+ 'render_callback' => 'render_block_core_post_author_biography',
45
+ )
46
+ );
47
+ }
48
+ add_action( 'init', 'register_block_core_post_author_biography' );
@@ -28,7 +28,12 @@
28
28
  },
29
29
  "color": {
30
30
  "gradients": true,
31
- "link": true
31
+ "link": true,
32
+ "__experimentalDefaultControls": {
33
+ "background": true,
34
+ "text": true,
35
+ "link": true
36
+ }
32
37
  },
33
38
  "typography": {
34
39
  "fontSize": true,
@@ -28,7 +28,11 @@
28
28
  },
29
29
  "color": {
30
30
  "gradients": true,
31
- "link": true
31
+ "link": true,
32
+ "__experimentalDefaultControls": {
33
+ "background": true,
34
+ "text": true
35
+ }
32
36
  }
33
37
  },
34
38
  "style": [
@@ -15,7 +15,11 @@
15
15
  "supports": {
16
16
  "html": false,
17
17
  "color": {
18
- "gradients": true
18
+ "gradients": true,
19
+ "__experimentalDefaultControls": {
20
+ "background": true,
21
+ "text": true
22
+ }
19
23
  },
20
24
  "typography": {
21
25
  "fontSize": true,
@@ -16,7 +16,11 @@
16
16
  "html": false,
17
17
  "color": {
18
18
  "gradients": true,
19
- "link": true
19
+ "link": true,
20
+ "__experimentalDefaultControls": {
21
+ "background": true,
22
+ "text": true
23
+ }
20
24
  },
21
25
  "typography": {
22
26
  "fontSize": true,
@@ -16,7 +16,11 @@
16
16
  "html": false,
17
17
  "color": {
18
18
  "link": true,
19
- "text": false
19
+ "text": false,
20
+ "__experimentalDefaultControls": {
21
+ "background": true,
22
+ "link": true
23
+ }
20
24
  },
21
25
  "typography": {
22
26
  "fontSize": true,
@@ -33,7 +33,7 @@ function render_block_core_post_comments_link( $attributes, $content, $block ) {
33
33
  $comment_html = sprintf(
34
34
  /* translators: %s post title */
35
35
  __( 'No comments<span class="screen-reader-text"> on %s</span>' ),
36
- esc_html( $post_title )
36
+ $post_title
37
37
  );
38
38
  } else {
39
39
  $comment_html = sprintf(
@@ -44,7 +44,7 @@ function render_block_core_post_comments_link( $attributes, $content, $block ) {
44
44
  $comments_number
45
45
  ),
46
46
  esc_html( number_format_i18n( $comments_number ) ),
47
- esc_html( $post_title )
47
+ $post_title
48
48
  );
49
49
  }
50
50
 
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import { __ } from '@wordpress/i18n';
5
5
  import { useSelect } from '@wordpress/data';
6
- import { RawHTML } from '@wordpress/element';
7
6
  import {
8
7
  useBlockProps,
9
8
  useInnerBlocksProps,
@@ -32,9 +31,10 @@ function ReadOnlyContent( { userCanEdit, postType, postId } ) {
32
31
  <Warning>{ __( 'This content is password protected.' ) }</Warning>
33
32
  </div>
34
33
  ) : (
35
- <div { ...blockProps }>
36
- <RawHTML key="html">{ content?.rendered }</RawHTML>
37
- </div>
34
+ <div
35
+ { ...blockProps }
36
+ dangerouslySetInnerHTML={ { __html: content?.rendered } }
37
+ ></div>
38
38
  );
39
39
  }
40
40
 
@@ -23,7 +23,12 @@
23
23
  "html": false,
24
24
  "color": {
25
25
  "gradients": true,
26
- "link": true
26
+ "link": true,
27
+ "__experimentalDefaultControls": {
28
+ "background": true,
29
+ "text": true,
30
+ "link": true
31
+ }
27
32
  },
28
33
  "typography": {
29
34
  "fontSize": true,
@@ -23,7 +23,7 @@ function render_block_core_post_date( $attributes, $content, $block ) {
23
23
  $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) );
24
24
  $formatted_date = get_the_date( isset( $attributes['format'] ) ? $attributes['format'] : '', $post_ID );
25
25
  if ( isset( $attributes['isLink'] ) && $attributes['isLink'] ) {
26
- $formatted_date = sprintf( '<a href="%1s">%2s</a>', get_the_permalink( $post_ID ), esc_html( $formatted_date ) );
26
+ $formatted_date = sprintf( '<a href="%1s">%2s</a>', get_the_permalink( $post_ID ), $formatted_date );
27
27
  }
28
28
 
29
29
  return sprintf(
@@ -23,7 +23,12 @@
23
23
  "html": false,
24
24
  "color": {
25
25
  "gradients": true,
26
- "link": true
26
+ "link": true,
27
+ "__experimentalDefaultControls": {
28
+ "background": true,
29
+ "text": true,
30
+ "link": true
31
+ }
27
32
  },
28
33
  "spacing": {
29
34
  "margin": true,
@@ -24,7 +24,7 @@ function render_block_core_post_excerpt( $attributes, $content, $block ) {
24
24
  return '';
25
25
  }
26
26
 
27
- $more_text = ! empty( $attributes['moreText'] ) ? '<a class="wp-block-post-excerpt__more-link" href="' . esc_url( get_the_permalink( $block->context['postId'] ) ) . '">' . esc_html( $attributes['moreText'] ) . '</a>' : '';
27
+ $more_text = ! empty( $attributes['moreText'] ) ? '<a class="wp-block-post-excerpt__more-link" href="' . esc_url( get_the_permalink( $block->context['postId'] ) ) . '">' . wp_kses_post( $attributes['moreText'] ) . '</a>' : '';
28
28
  $filter_excerpt_more = function( $more ) use ( $more_text ) {
29
29
  return empty( $more_text ) ? $more : '';
30
30
  };
@@ -23,7 +23,12 @@
23
23
  "html": false,
24
24
  "color": {
25
25
  "gradients": true,
26
- "link": true
26
+ "link": true,
27
+ "__experimentalDefaultControls": {
28
+ "background": true,
29
+ "text": true,
30
+ "link": true
31
+ }
27
32
  },
28
33
  "typography": {
29
34
  "lineHeight": true,
@@ -5,10 +5,16 @@ import metadata from './block.json';
5
5
  import edit from './edit';
6
6
  import variations from './variations';
7
7
 
8
+ /**
9
+ * WordPress dependencies
10
+ */
11
+ import { postTerms as icon } from '@wordpress/icons';
12
+
8
13
  const { name } = metadata;
9
14
  export { metadata, name };
10
15
 
11
16
  export const settings = {
17
+ icon,
12
18
  variations,
13
19
  edit,
14
20
  };
@@ -34,7 +34,12 @@
34
34
  "html": false,
35
35
  "color": {
36
36
  "gradients": true,
37
- "link": true
37
+ "link": true,
38
+ "__experimentalDefaultControls": {
39
+ "background": true,
40
+ "text": true,
41
+ "link": true
42
+ }
38
43
  },
39
44
  "spacing": {
40
45
  "margin": true
@@ -13,7 +13,6 @@ import {
13
13
  useBlockProps,
14
14
  PlainText,
15
15
  } from '@wordpress/block-editor';
16
- import { RawHTML } from '@wordpress/element';
17
16
  import { ToggleControl, TextControl, PanelBody } from '@wordpress/components';
18
17
  import { __ } from '@wordpress/i18n';
19
18
  import { useEntityProp } from '@wordpress/core-data';
@@ -61,9 +60,10 @@ export default function PostTitleEdit( {
61
60
  { ...blockProps }
62
61
  />
63
62
  ) : (
64
- <TagName { ...blockProps }>
65
- <RawHTML key="html">{ fullTitle?.rendered }</RawHTML>
66
- </TagName>
63
+ <TagName
64
+ { ...blockProps }
65
+ dangerouslySetInnerHTML={ { __html: fullTitle?.rendered } }
66
+ />
67
67
  );
68
68
  }
69
69
 
@@ -91,9 +91,10 @@ export default function PostTitleEdit( {
91
91
  target={ linkTarget }
92
92
  rel={ rel }
93
93
  onClick={ ( event ) => event.preventDefault() }
94
- >
95
- <RawHTML key="html">{ fullTitle?.rendered }</RawHTML>
96
- </a>
94
+ dangerouslySetInnerHTML={ {
95
+ __html: fullTitle?.rendered,
96
+ } }
97
+ />
97
98
  </TagName>
98
99
  );
99
100
  }
@@ -34,7 +34,7 @@ function render_block_core_post_title( $attributes, $content, $block ) {
34
34
  }
35
35
 
36
36
  if ( isset( $attributes['isLink'] ) && $attributes['isLink'] ) {
37
- $title = sprintf( '<a href="%1$s" target="%2$s" rel="%3$s">%4$s</a>', get_the_permalink( $post_ID ), esc_attr( $attributes['linkTarget'] ), esc_attr( $attributes['rel'] ), esc_html( $title ) );
37
+ $title = sprintf( '<a href="%1$s" target="%2$s" rel="%3$s">%4$s</a>', get_the_permalink( $post_ID ), esc_attr( $attributes['linkTarget'] ), esc_attr( $attributes['rel'] ), $title );
38
38
  }
39
39
  $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) );
40
40
 
@@ -19,7 +19,11 @@
19
19
  "supports": {
20
20
  "anchor": true,
21
21
  "color": {
22
- "gradients": true
22
+ "gradients": true,
23
+ "__experimentalDefaultControls": {
24
+ "background": true,
25
+ "text": true
26
+ }
23
27
  },
24
28
  "typography": {
25
29
  "fontSize": true,
@@ -31,7 +31,11 @@
31
31
  "color": {
32
32
  "gradients": true,
33
33
  "background": true,
34
- "link": true
34
+ "link": true,
35
+ "__experimentalDefaultControls": {
36
+ "background": true,
37
+ "text": true
38
+ }
35
39
  },
36
40
  "typography": {
37
41
  "fontSize": true,
@@ -48,7 +48,11 @@
48
48
  "html": false,
49
49
  "color": {
50
50
  "gradients": true,
51
- "link": true
51
+ "link": true,
52
+ "__experimentalDefaultControls": {
53
+ "background": true,
54
+ "text": true
55
+ }
52
56
  },
53
57
  "__experimentalLayout": true
54
58
  },
@@ -23,7 +23,12 @@
23
23
  "html": false,
24
24
  "color": {
25
25
  "gradients": true,
26
- "link": true
26
+ "link": true,
27
+ "__experimentalDefaultControls": {
28
+ "background": true,
29
+ "text": true,
30
+ "link": true
31
+ }
27
32
  },
28
33
  "__experimentalLayout": {
29
34
  "allowSwitching": false,
@@ -18,7 +18,10 @@
18
18
  "html": false,
19
19
  "color": {
20
20
  "gradients": true,
21
- "text": false
21
+ "text": false,
22
+ "__experimentalDefaultControls": {
23
+ "background": true
24
+ }
22
25
  },
23
26
  "typography": {
24
27
  "fontSize": true,
@@ -21,7 +21,7 @@ function render_block_core_query_pagination_next( $attributes, $content, $block
21
21
 
22
22
  $wrapper_attributes = get_block_wrapper_attributes();
23
23
  $default_label = __( 'Next Page' );
24
- $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
24
+ $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? esc_html( $attributes['label'] ) : $default_label;
25
25
  $pagination_arrow = get_query_pagination_arrow( $block, true );
26
26
 
27
27
  if ( $pagination_arrow ) {
@@ -51,7 +51,7 @@ function render_block_core_query_pagination_next( $attributes, $content, $block
51
51
  '<a href="%1$s" %2$s>%3$s</a>',
52
52
  esc_url( add_query_arg( $page_key, $page + 1 ) ),
53
53
  $wrapper_attributes,
54
- esc_html( $label )
54
+ $label
55
55
  );
56
56
  }
57
57
  wp_reset_postdata(); // Restore original Post Data.
@@ -18,7 +18,10 @@
18
18
  "html": false,
19
19
  "color": {
20
20
  "gradients": true,
21
- "text": false
21
+ "text": false,
22
+ "__experimentalDefaultControls": {
23
+ "background": true
24
+ }
22
25
  },
23
26
  "typography": {
24
27
  "fontSize": true,
@@ -20,7 +20,7 @@ function render_block_core_query_pagination_previous( $attributes, $content, $bl
20
20
 
21
21
  $wrapper_attributes = get_block_wrapper_attributes();
22
22
  $default_label = __( 'Previous Page' );
23
- $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
23
+ $label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? esc_html( $attributes['label'] ) : $default_label;
24
24
  $pagination_arrow = get_query_pagination_arrow( $block, false );
25
25
  if ( $pagination_arrow ) {
26
26
  $label = $pagination_arrow . $label;
@@ -41,7 +41,7 @@ function render_block_core_query_pagination_previous( $attributes, $content, $bl
41
41
  '<a href="%1$s" %2$s>%3$s</a>',
42
42
  esc_url( add_query_arg( $page_key, $page - 1 ) ),
43
43
  $wrapper_attributes,
44
- esc_html( $label )
44
+ $label
45
45
  );
46
46
  }
47
47
  return $content;
@@ -22,7 +22,11 @@
22
22
  "align": [ "wide", "full" ],
23
23
  "html": false,
24
24
  "color": {
25
- "gradients": true
25
+ "gradients": true,
26
+ "__experimentalDefaultControls": {
27
+ "background": true,
28
+ "text": true
29
+ }
26
30
  },
27
31
  "spacing": {
28
32
  "margin": true
@@ -6,10 +6,16 @@ import edit from './edit';
6
6
  import variations from './variations';
7
7
  import deprecated from './deprecated';
8
8
 
9
+ /**
10
+ * WordPress dependencies
11
+ */
12
+ import { queryTitle as icon } from '@wordpress/icons';
13
+
9
14
  const { name } = metadata;
10
15
  export { metadata, name };
11
16
 
12
17
  export const settings = {
18
+ icon,
13
19
  edit,
14
20
  variations,
15
21
  deprecated,
@@ -49,8 +49,7 @@
49
49
  "label": "Default",
50
50
  "isDefault": true
51
51
  },
52
- { "name": "plain", "label": "Plain" },
53
- { "name": "large", "label": "Large" }
52
+ { "name": "plain", "label": "Plain" }
54
53
  ],
55
54
  "editorStyle": "wp-block-quote-editor",
56
55
  "style": "wp-block-quote"
@@ -24,7 +24,6 @@ export const settings = {
24
24
  value:
25
25
  '<p>' + __( 'In quoting others, we cite ourselves.' ) + '</p>',
26
26
  citation: 'Julio Cortázar',
27
- className: 'is-style-large',
28
27
  },
29
28
  },
30
29
  transforms,
@@ -1,8 +1,8 @@
1
1
  .wp-block-quote {
2
2
  overflow-wrap: break-word; // Break long strings of text without spaces so they don't overflow the block.
3
-
4
- &.is-style-large,
5
- &.is-large {
3
+ // .is-style-large and .is-large are kept for backwards compatibility. The :not pseudo-class is used to enable switching styles. See PR #37580.
4
+ &.is-style-large:not(.is-style-plain),
5
+ &.is-large:not(.is-style-plain) {
6
6
  margin-bottom: 1em;
7
7
  padding: 0 1em;
8
8
 
@@ -22,7 +22,7 @@
22
22
  border: none;
23
23
  padding-left: 0;
24
24
  }
25
-
25
+ // .is-style-large and .is-large are kept for backwards compatibility.
26
26
  &.is-style-plain,
27
27
  &.is-style-large,
28
28
  &.is-large {
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://schemas.wp.org/trunk/block.json",
3
+ "apiVersion": 2,
4
+ "name": "core/read-more",
5
+ "title": "Read More",
6
+ "category": "theme",
7
+ "description": "Displays the link of a post, page, or any other content-type.",
8
+ "textdomain": "default",
9
+ "attributes": {
10
+ "content": {
11
+ "type": "string"
12
+ },
13
+ "linkTarget": {
14
+ "type": "string",
15
+ "default": "_self"
16
+ }
17
+ },
18
+ "usesContext": [ "postId" ],
19
+ "supports": {
20
+ "html": false,
21
+ "color": {
22
+ "gradients": true,
23
+ "text": false
24
+ },
25
+ "typography": {
26
+ "fontSize": true,
27
+ "lineHeight": true,
28
+ "__experimentalFontFamily": true,
29
+ "__experimentalFontWeight": true,
30
+ "__experimentalFontStyle": true,
31
+ "__experimentalTextTransform": true,
32
+ "__experimentalLetterSpacing": true,
33
+ "__experimentalTextDecoration": true,
34
+ "__experimentalDefaultControls": {
35
+ "fontSize": true,
36
+ "textDecoration": true
37
+ }
38
+ },
39
+ "spacing": {
40
+ "margin": [ "top", "bottom" ],
41
+ "padding": true,
42
+ "__experimentalDefaultControls": {
43
+ "padding": true
44
+ }
45
+ },
46
+ "__experimentalBorder": {
47
+ "color": true,
48
+ "radius": true,
49
+ "width": true,
50
+ "__experimentalDefaultControls": {
51
+ "width": true
52
+ }
53
+ }
54
+ },
55
+ "style": "wp-block-read-more"
56
+ }