Ticket #45634: 45634.diff
File 45634.diff, 4.4 KB (added by , 6 years ago) |
---|
-
src/js/_enqueues/vendor/tinymce/plugins/wordpress/plugin.js
666 666 } 667 667 } ); 668 668 669 // Alt+Shift+Z removes a block in the Block Editor, don't add it to the Classic Block.669 // Alt+Shift+Z removes a block in the block editor, don't add it to the Classic Block. 670 670 if ( ! editor.settings.classic_block_editor ) { 671 671 editor.addShortcut( 'access+z', '', 'WP_Adv' ); 672 672 } 673 673 674 // Workaround for not triggering the global help modal in the Block Editor by the Classic Block shortcut.674 // Workaround for not triggering the global help modal in the block editor by the Classic Block shortcut. 675 675 editor.on( 'keydown', function( event ) { 676 676 if ( event.shiftKey && event.altKey && event.code === 'KeyH' ) { 677 677 editor.execCommand( 'WP_Help' ); -
src/wp-admin/about.php
136 136 137 137 <div class="feature-section one-col" id="classic-editor"> 138 138 <div class="col"> 139 <p><?php _e( 'Prefer to stick with the familiar Classic Editor? No problem! Support for the Classic Editor plugin will remain in WordPress through 2021.' ); ?></p>139 <p><?php _e( 'Prefer to stick with the familiar classic editor? No problem! Support for the Classic Editor plugin will remain in WordPress through 2021.' ); ?></p> 140 140 <p><?php _e( 'The Classic Editor plugin restores the previous WordPress editor and the Edit Post screen. It lets you keep using plugins that extend it, add old-style meta boxes, or otherwise depend on the previous editor. To install, visit your plugins page and click the “Install Now” button next to “Classic Editor”. After the plugin finishes installing, click “Activate”. That’s it!' ); ?></p> 141 <p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor .' ); ?></p>141 <p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor plugin.' ); ?></p> 142 142 <?php if ( current_user_can( 'install_plugins' ) ) { ?> 143 143 <div class="col cta"> 144 <a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor ' ); ?></a>144 <a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor plugin' ); ?></a> 145 145 </div> 146 146 <?php } ?> 147 147 </div> -
src/wp-admin/edit-form-blocks.php
1 1 <?php 2 2 /** 3 * The Block Editor page.3 * The block editor page. 4 4 * 5 5 * @since 5.0.0 6 6 * -
src/wp-includes/class-wp-editor.php
1284 1284 'Link options' => __( 'Link options' ), // Tooltip for the 'link options' button in the inline link dialog 1285 1285 'Visual' => _x( 'Visual', 'Name for the Visual editor tab' ), // Editor switch tab label 1286 1286 'Text' => _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ), // Editor switch tab label 1287 'Add Media' => array( __( 'Add Media' ), 'accessM' ), // Tooltip for the 'Add Media' button in the Block Editor Classic block1287 'Add Media' => array( __( 'Add Media' ), 'accessM' ), // Tooltip for the 'Add Media' button in the block editor Classic Block 1288 1288 1289 1289 // Shortcuts help modal 1290 1290 'Keyboard Shortcuts' => array( __( 'Keyboard Shortcuts' ), 'accessH' ),