re-enqueuing a editor stylesheet
This commit is contained in:
parent
e046b6d42c
commit
0c8d3447cf
|
|
@ -87,6 +87,16 @@ Enqueue Theme assets 🡒 Back
|
||||||
add_action('enqueue_block_editor_assets', 'homegrade_enqueue_scripts');
|
add_action('enqueue_block_editor_assets', 'homegrade_enqueue_scripts');
|
||||||
|
|
||||||
|
|
||||||
|
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');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get asset path.
|
* Get asset path.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user