Skip to content

Extract All v4.0.1 — All Onclick Handlers Fixed

Choose a tag to compare

@Lukas-Bohez Lukas-Bohez released this 02 Jul 12:55

Install Guide

Option 1 — Download ZIP: Download Source code (zip), unzip, then Figma: Plugins > Development > Import plugin from manifest > select manifest.json

Option 2 — From source: git clone https://github.com/Lukas-Bohez/figma-extract-all.git && cd figma-extract-all && npm install && npm run build


v4.0.1 — Critical Fix

Root cause of all broken buttons in v4.0.0: The entire JavaScript was inside an IIFE (function(){...})(), making onclick= handlers unreachable since they referenced functions not on window.

Fix: Replaced all onclick= attributes with data-action= attributes and a single addEventListener delegation loop that wires all buttons properly.

What works now:

  • Theme toggle button (class-based .dark on body)
  • Tab switching (data-tab + addEventListener)
  • AE Extract, AI Extract buttons
  • Selected nodes SVG/PNG/JPG
  • Batch export SVG/PNG
  • Variables, Styles, Components, Pages
  • Lottie import validator
  • Ctrl+Enter / Esc keyboard shortcuts