Changeset 43857 for branches/5.0/src/wp-admin/edit-form-blocks.php
- Timestamp:
- 11/01/2018 05:06:44 AM (7 years ago)
- File:
-
- 1 edited
-
branches/5.0/src/wp-admin/edit-form-blocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/edit-form-blocks.php
r43840 r43857 142 142 wp_localize_script( 'wp-editor', '_wpMetaBoxUrl', $meta_box_url ); 143 143 144 145 // Populate default code editor settings by short-circuiting wp_enqueue_code_editor.146 wp_add_inline_script(147 'wp-editor',148 sprintf(149 'window._wpGutenbergCodeEditorSettings = %s;',150 wp_json_encode( wp_get_code_editor_settings( array( 'type' => 'text/html' ) ) )151 )152 );153 144 154 145 /*
Note: See TracChangeset
for help on using the changeset viewer.