WordPress/wp-includes/blocks/list
gziolo 8df663cbfa Editor: Enqueue script and style assets only for blocks present on the page
Adds styles for individual core blocks to make it possible to render only styles for those blocks that are rendered on the page (frontend). This is optinal functionality for start that can be controlled with the new `separate_core_block_assets` filter.

In addition to that, styles can be inlined when `path` is passed when registering an individual styles. This functionality can be changed with the new `styles_inline_size_limit` filter. The maximum size of inlined styles in bytes defaults to 20 000.

Props aristath, aduth, westonruter, mcsf.
Fixes #50328, #52620.


Built from https://develop.svn.wordpress.org/trunk@50836


git-svn-id: http://core.svn.wordpress.org/trunk@50445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-11 09:43:08 +00:00
..
block.json Editor: Update WordPress packages from Gutenberg 10.5 2021-05-07 11:48:27 +00:00
style-rtl.css Editor: Enqueue script and style assets only for blocks present on the page 2021-05-11 09:43:08 +00:00
style-rtl.min.css Editor: Enqueue script and style assets only for blocks present on the page 2021-05-11 09:43:08 +00:00
style.css Editor: Enqueue script and style assets only for blocks present on the page 2021-05-11 09:43:08 +00:00
style.min.css Editor: Enqueue script and style assets only for blocks present on the page 2021-05-11 09:43:08 +00:00