plugin-typings icon indicating copy to clipboard operation
plugin-typings copied to clipboard

Add support for console.dir()

Open florianb opened this issue 4 years ago • 2 comments

See https://developer.mozilla.org/de/docs/Web/API/Console/dir

If there's anything i should change or add please let me know.

florianb avatar Dec 16 '21 09:12 florianb

Adding this in the typings won't do anything, it needs to be implemented in the JS sandbox that Figma is using.

Try adding console.dir to the plugin and running it, it would throw an error: image

That would be a welcome addition though, feel free to add this suggestion: https://forum.figma.com/c/plugin-api/feedback/36

glebsexy avatar Dec 16 '21 10:12 glebsexy

Thank you very much - i will pick it up!

florianb avatar Dec 16 '21 12:12 florianb

Thanks for the feedback! I've noted this on our backlog, so closing this PR out.

elainefigma avatar Jul 24 '23 02:07 elainefigma