Skip to content

Commit

Permalink
Standards
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcernis committed Oct 22, 2018
1 parent eb25cd0 commit 9a548c8
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions lib/gutenberg/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,25 @@ function genesis_sample_enqueue_gutenberg_frontend_styles() {
function genesis_sample_block_editor_styles() {

wp_enqueue_style(
'genesis-sample-gutenberg-fonts',
'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,700',
array(),
CHILD_THEME_VERSION
'genesis-sample-gutenberg-fonts',
'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,700',
array(),
CHILD_THEME_VERSION
);

/* Enqueue a separate admin stylesheet from the main `style-editor.css` to
/**
* Enqueue a separate admin stylesheet from the main `style-editor.css` to
* style the admin editor title only, due to this issue:
* https://github.com/WordPress/gutenberg/issues/10485.
* TODO: move this to `style-editor.css` once it's possible to style
* elements outside `.editor-block-list__block` via `add_editor_styles`.
*/
wp_enqueue_style(
'genesis-sample-editor-title',
get_stylesheet_directory_uri() . '/lib/gutenberg/style-editor-title.css',
array(),
CHILD_THEME_VERSION
);
'genesis-sample-editor-title',
get_stylesheet_directory_uri() . '/lib/gutenberg/style-editor-title.css',
array(),
CHILD_THEME_VERSION
);

}

Expand Down

0 comments on commit 9a548c8

Please sign in to comment.