Changeset 50761 for trunk/src/wp-admin/edit-form-blocks.php
- Timestamp:
- 04/15/2021 02:41:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r50693 r50761 185 185 $styles = array( 186 186 array( 187 'css' => file_get_contents( 188 is_rtl() 189 ? ABSPATH . WPINC . '/css/dist/editor/editor-styles-rtl.css' 190 : ABSPATH . WPINC . '/css/dist/editor/editor-styles.css' 191 ), 187 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }', 192 188 ), 193 189 ); 194 195 $styles[] = array(196 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }',197 );198 199 190 if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) { 200 191 foreach ( $editor_styles as $style ) { … … 218 209 } 219 210 220 // Default editor styles.221 $default_editor_styles = array(222 array(223 'css' => file_get_contents(224 is_rtl()225 ? ABSPATH . WPINC . '/css/dist/editor/editor-styles-rtl.css'226 : ABSPATH . WPINC . '/css/dist/editor/editor-styles.css'227 ),228 ),229 );230 231 211 // Image sizes. 232 212 … … 325 305 'allowedMimeTypes' => get_allowed_mime_types(), 326 306 'styles' => $styles, 327 'defaultEditorStyles' => $default_editor_styles,328 307 'imageSizes' => $available_image_sizes, 329 308 'imageDefaultSize' => $image_default_size,
Note: See TracChangeset
for help on using the changeset viewer.