fixing editor style handling and commenting mistake
This commit is contained in:
parent
670a15b47c
commit
c8697423ec
|
|
@ -85,15 +85,7 @@ add_action('wp_enqueue_scripts', 'homegrade_enqueue_scripts');
|
||||||
Enqueue Theme assets 🡒 Back
|
Enqueue Theme assets 🡒 Back
|
||||||
-----------------------------------------------------------*/
|
-----------------------------------------------------------*/
|
||||||
add_action('enqueue_block_editor_assets', 'homegrade_enqueue_scripts');
|
add_action('enqueue_block_editor_assets', 'homegrade_enqueue_scripts');
|
||||||
|
// ALSO SEE add_editor_style('css/editor-style.css') line 41
|
||||||
|
|
||||||
function enqueue_specific_editor_content_assets()
|
|
||||||
{
|
|
||||||
$theme = wp_get_theme();
|
|
||||||
|
|
||||||
wp_enqueue_style('editor-style', tailpress_asset('css/editor-style.css'), array(), $theme->get('Version'));
|
|
||||||
}
|
|
||||||
add_action('enqueue_block_editor_assets', 'enqueue_specific_editor_content_assets');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user