回答編集履歴
1
answer
CHANGED
@@ -7,7 +7,15 @@
|
|
7
7
|
editor-style.cssをどうやって読み込ませているか書いてください。
|
8
8
|
|
9
9
|
|
10
|
+
**追記**
|
11
|
+
例えば```add_editor_style('editor-style.css');```の部分を
|
10
12
|
|
11
|
-
|
13
|
+
以下に変えるとどうなりますか?
|
14
|
+
```
|
15
|
+
function add_editor_style_css() {
|
12
|
-
|
16
|
+
wp_enqueue_style( 'editor-style', get_template_directory_uri() . '/editor-style.css' );
|
17
|
+
}
|
13
|
-
|
18
|
+
add_action( 'admin_print_scripts', 'add_editor_style_css' );
|
19
|
+
```
|
20
|
+
|
21
|
+
|