Support

Account

Home Forums Gutenberg Run JS when Block is Opened? Reply To: Run JS when Block is Opened?

  • This is currently broken and render_block_preview only runs during the initial render.

    There’s a “hidden” action you can subscribe to for remounts.

    
    window.acf.addAction('remount', function ($el) {});