Closed kuuak closed 3 months ago
Replace
add_action( 'init', [$this, 'enqueue_editor_assets'] ); by add_action( 'enqueue_block_editor_assets', [$this, 'enqueue_editor_assets'] );
add_action( 'init', [$this, 'enqueue_editor_assets'] );
add_action( 'enqueue_block_editor_assets', [$this, 'enqueue_editor_assets'] );
Already fixed
Replace
add_action( 'init', [$this, 'enqueue_editor_assets'] );
byadd_action( 'enqueue_block_editor_assets', [$this, 'enqueue_editor_assets'] );