Skip to content
Permalink
Browse files

[ 仕様変更 ] ブロックエディタで共通の調整用CSSを読み込むように修正

  • Loading branch information...
kurudrive committed Jan 25, 2019
1 parent 3a1df76 commit 96c755bba6066841399f9c2fb367137651dd3c50
Showing with 10 additions and 0 deletions.
  1. +4 −0 assets/_scss/common_editor.scss
  2. +1 −0 assets/css/common_editor.css
  3. +5 −0 functions.php
@@ -0,0 +1,4 @@
@charset "utf-8";
button.editor-block-switcher__toggle {
overflow: hidden;
}
@@ -0,0 +1 @@
button.editor-block-switcher__toggle{overflow:hidden}
@@ -142,6 +142,11 @@ function lightning_css() {
wp_enqueue_style( 'lightning-theme-style', get_stylesheet_uri(), array( 'lightning-design-style' ), LIGHTNING_THEME_VERSION );
}
add_action( 'after_setup_theme', 'lightning_load_common_editor_css' );
function lightning_load_common_editor_css() {
add_editor_style( get_template_directory_uri() . '/assets/css/common_editor.css', LIGHTNING_THEME_VERSION );
}
/*-------------------------------------------*/
/* Load Theme Customizer additions.
/*-------------------------------------------*/

0 comments on commit 96c755b

Please sign in to comment.
You can’t perform that action at this time.