Skip to content

Commit 9963c60

Browse files
committed
Allow excessive CSS in Customizer preview
1 parent 85dea50 commit 9963c60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

includes/amp-helper-functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,8 @@ function amp_get_content_sanitizers( $post = null ) {
15601560
],
15611561
AMP_Block_Sanitizer::class => [], // Note: Block sanitizer must come after embed / media sanitizers since its logic is using the already sanitized content.
15621562
AMP_Style_Sanitizer::class => [
1563-
'skip_tree_shaking' => is_customize_preview(),
1563+
'skip_tree_shaking' => is_customize_preview(),
1564+
'allow_excessive_css' => is_customize_preview(),
15641565
],
15651566
AMP_Meta_Sanitizer::class => [],
15661567
AMP_Layout_Sanitizer::class => [],

0 commit comments

Comments
 (0)