Update @wordpress packages
Update packages to include these bug fixes from Gutenberg: - Stop keypresses being caught by other elements when they happen in a CustomSelectControl - Remove color, spacing, and layout options for Template Part block - Try: parse shortcode blocks outside the content - Fix aria-modal attribution with multiple navs on page - Gallery block: Remove warning notice about mobile version required - Fix Home template description typo - Fix enqueueing additional styles for blocks only when rendered - fix typo (hanle -> handle) - SelectControl: mark the children prop as optional - Remove warning for enqueued styles in Editor - Add context to font style and font weight related translation strings - Temporarily remove text decoration from Nav block - Fix empty secondary sidebar overlapping widget editor content on mobile viewports - Fix hiding the bottom of tablet/mobile preview in Site Editor See #54487. Props isabel_brison. Built from https://develop.svn.wordpress.org/trunk@52595 git-svn-id: http://core.svn.wordpress.org/trunk@52183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -235,7 +235,10 @@ function get_the_block_template_html() {
|
||||
$content = $wp_embed->autoembed( $content );
|
||||
$content = do_blocks( $content );
|
||||
$content = wptexturize( $content );
|
||||
$content = convert_smilies( $content );
|
||||
$content = shortcode_unautop( $content );
|
||||
$content = wp_filter_content_tags( $content );
|
||||
$content = do_shortcode( $content );
|
||||
$content = str_replace( ']]>', ']]>', $content );
|
||||
|
||||
// Wrap block template in .wp-site-blocks to allow for specific descendant styles
|
||||
|
||||
Reference in New Issue
Block a user