Changeset 43901
- Timestamp:
- 11/15/2018 11:52:47 PM (7 years ago)
- Location:
- branches/5.0/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/edit-form-blocks.php
r43885 r43901 326 326 ) 327 327 ); 328 wp_tinymce_inline_scripts(); 328 329 wp_enqueue_editor(); 329 330 -
branches/5.0/src/wp-includes/script-loader.php
r43894 r43901 485 485 'after' 486 486 ); 487 488 // TinyMCE init. 487 } 488 489 /** 490 * Adds inline scripts required for the TinyMCE in the block editor. 491 * 492 * @since 5.0.0 493 * 494 * @global WP_Scripts $wp_scripts 495 */ 496 function wp_tinymce_inline_scripts() { 497 global $wp_scripts; 498 489 499 $tinymce_plugins = array( 490 500 'charmap', … … 597 607 }'; 598 608 599 $ scripts->add_inline_script( 'wp-block-library', $script, 'before' );609 $wp_scripts->add_inline_script( 'wp-block-library', $script, 'before' ); 600 610 } 601 611
Note: See TracChangeset
for help on using the changeset viewer.