Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tried it with a fresh install again. And it works as expected.
    Seems to be caused by the theme or a plugin. No need to investigate this any further.

    This does not work for me.
    I have set define( ‘SCRIPT_DEBUG’, false ) in the config, but the style tags still remain.

    <style>.wp-block-gallery.wp-block-gallery-2{ --wp--style--unstable-gallery-gap: var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) ); gap: var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )}</style>
    <style id='core-block-supports-inline-css' type='text/css'>
    .wp-block-columns.wp-container-6{flex-wrap:nowrap;}
    </style>
    </div>
    </div>
    </body>
    </html>

    The styles of the gallery block are also there.

    Any Idea?

    Thank you!

    • This reply was modified 3 years, 7 months ago by syntcom.

    Change this line in the index.php file. Worked for me.
    add_action( ‘init’, function() {

    to

    add_action( ‘admin_enqueue_scripts’, function() {

    Cheers
    Michael

Viewing 3 replies - 1 through 3 (of 3 total)