Merge branch 'issue-3' into 'develop'
Fixes #3 readd missing tinymce style on front Closes #3 See merge request ldc-web/projets/ldc!4
This commit is contained in:
commit
f3f33989f8
1 changed files with 1 additions and 10 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
// TODO : vérifier si pas d'incidence sur les dates du site
|
||||
// ! Changed remove block 'REMOVE GUTENBERG STYLES' as breaks tinymce styles on front. (24/03/23)
|
||||
//date_default_timezone_set('Europe/Paris');
|
||||
|
||||
/*******************************************************************
|
||||
|
|
@ -45,16 +46,6 @@ add_filter( 'excerpt_length', function(){
|
|||
return 50;
|
||||
});
|
||||
|
||||
/* REMOVE GUTENBERG STYLES START */
|
||||
|
||||
function smartwp_remove_wp_block_library_css(){
|
||||
wp_dequeue_style( 'wp-block-library' );
|
||||
wp_dequeue_style( 'wp-block-library-theme' );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'smartwp_remove_wp_block_library_css' );
|
||||
|
||||
/* REMOVE GUTENBERG STYLES END */
|
||||
|
||||
/* REMOVE ATTRS START */
|
||||
add_action('wp_loaded', 'prefix_output_buffer_start');
|
||||
function prefix_output_buffer_start() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue