Plugin Directory

Changeset 2585219


Ignore:
Timestamp:
08/19/2021 06:54:07 AM (5 years ago)
Author:
kodeks
Message:

gutenberg change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kodeks-dashboard/trunk/functions.php

    r2584727 r2585219  
    361361
    362362    if ((!isset($kodeks_options['setting_gutenberg']) || $kodeks_options['setting_gutenberg'] == 1) && !function_exists( 'custom_theme_assets' )) {
    363         add_action( 'enqueue_block_editor_assets', function() {
    364             // Main block styles.
    365             wp_enqueue_style( 'uuups-blocks', asset( 'styles/editor.css' ), null, null );
    366 
     363        add_action( 'enqueue_block_assets', function() {
    367364            // Overwrite Core block styles with empty styles.
    368365            wp_deregister_style( 'wp-block-library' );
Note: See TracChangeset for help on using the changeset viewer.