Changeset 2542579
- Timestamp:
- 06/04/2021 12:33:49 PM (3 years ago)
- Location:
- full-site-editing/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
full-site-editing/trunk/common/dist/common.asset.php
r2535130 r2542579 1 <?php return array('dependencies' => array('wp-polyfill'), 'version' => ' ed18a86c46634c74ef5304a016d57ac0');1 <?php return array('dependencies' => array('wp-polyfill'), 'version' => ''); -
full-site-editing/trunk/common/dist/common.css
r2487412 r2542579 1 body.hide-homepage-title .editor-post-title{opacity:.4} .interface-interface-skeleton__editor{max-width:100%}1 body.hide-homepage-title .editor-post-title{opacity:.4}} -
full-site-editing/trunk/common/dist/common.rtl.css
r2487412 r2542579 1 body.hide-homepage-title .editor-post-title{opacity:.4} .interface-interface-skeleton__editor{max-width:100%}1 body.hide-homepage-title .editor-post-title{opacity:.4}} -
full-site-editing/trunk/common/index.php
r2471048 r2542579 70 70 */ 71 71 function needs_slider_width_workaround() { 72 73 72 74 if ( 73 75 ( defined( 'GUTENBERG_DEVELOPMENT_MODE' ) && GUTENBERG_DEVELOPMENT_MODE ) || 74 76 ( defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, '9.2', '>=' ) ) 75 77 ) { 78 79 80 81 82 83 84 85 86 87 88 89 90 76 91 return true; 77 92 } 78 return false; 93 94 return apply_filters( 'a8c_use_font_smoothing_antialiased', false ); 79 95 } 80 96 … … 91 107 */ 92 108 function should_load_assets() { 93 return (bool) is_homepage_title_hidden() || needs_slider_width_workaround() ;109 return (bool) is_homepage_title_hidden() || needs_slider_width_workaround(); 94 110 } 95 111 … … 103 119 if ( is_homepage_title_hidden() ) { 104 120 $classes .= ' hide-homepage-title'; 121 122 123 124 125 126 127 128 129 130 105 131 } 106 132 … … 138 164 ); 139 165 } 140 add_action( ' enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_script_and_style' );166 add_action( 'ts', __NAMESPACE__ . '\enqueue_script_and_style' ); 141 167 142 168 /** -
full-site-editing/trunk/common/index.scss
r2487412 r2542579 1 1 body.hide-homepage-title { 2 3 2 // Allow homepage title to be edited even when hidden 4 3 // Lighter color to signify not visible from front page 5 4 .editor-post-title { 6 opacity: .4;5 opacity: .4; 7 6 } 8 7 } 9 8 10 .interface-interface-skeleton__editor { 11 max-width: 100%; 9 body.slider-width-workaround { 10 .interface-interface-skeleton__editor { 11 max-width: 100%; 12 } 12 13 } 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 -
full-site-editing/trunk/full-site-editing-plugin.php
r2541645 r2542579 3 3 * Plugin Name: WordPress.com Editing Toolkit 4 4 * Description: Enhances your page creation workflow within the Block Editor. 5 * Version: 3.7 7905 * Version: 3.7 6 6 * Author: Automattic 7 7 * Author URI: https://automattic.com/wordpress-plugins/ … … 43 43 * @var string 44 44 */ 45 define( 'A8C_ETK_PLUGIN_VERSION', '3.7 790' );45 define( 'A8C_ETK_PLUGIN_VERSION', '3.7' ); 46 46 47 47 // Always include these helper files for dotcom FSE. -
full-site-editing/trunk/readme.txt
r2541645 r2542579 4 4 Requires at least: 5.5 5 5 Tested up to: 5.6 6 Stable tag: 3.7 7906 Stable tag: 3.7 7 7 Requires PHP: 5.6.20 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.