JavaScript for WordPress Forums Gutenberg Development Cannot get any editor.css to load Reply To: Cannot get any editor.css to load

#85503
smlombardi
Participant

What did you change (so that I can change my project to match — I already made 3 or 4 blocks in it)

Looks like you change this function to remove the wp-blocks in the brackets, line 71.


    // Enqueue optional editor only styles
    wp_enqueue_style(
        'jsforwphowto-blocks-editor-css',
        plugins_url( $editorStylePath, __FILE__),
        [],
        filemtime( plugin_dir_path( __FILE__ ) . $editorStylePath )
    );

Works now, thanks!