Skip to main content
Question

documentchange Event Stops Triggering After Undo Operation


nmnishantx

Steps to reproduce :

 

  1. Create a simple Figma plugin that listens to the "documentchange" event and logs the changes.
  2. Create a Figma node using figma.createNodeFromSvg().
  3. Delete the created node (using “node.remove()”) and recreate it
  4. Press Undo (Cmd+Z / Ctrl+Z).
  5. Observe the console: the "documentchange" event no longer triggers after the undo action. + Error is logged (Internal Figma error: Unknown node type for node in getPublicNodeType)

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings