New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabled Data functionality #457
Comments
Where exactly are you adding it? |
I was adding it outside
but when I add it to/inside
Or do I have to add it to |
Yeah it might do something funky outside |
So better put it inside |
Yeah, better put it in the function where you need it :) |
Yes, thank you! |
Ah, one last question: Would there have been any way to get some debug-info here (regarding the disabled Data-plugin part). I was looking into the MacOs Console (filtered for Sketch), but there is so much going on when Sketch starts that I did not see anything which looked connected... |
It's actually a bug that |
When adding
require('sketch/dom').getSelectedDocument()
to the code of a Data Plugin, the Data Plugin part of that plugin gets disabled (through Sketch) without the possibility to enable it again (through the user).Environment: Sketch Version 54, Mac OS Mojave (v. 10.14.3)
How to reproduce:
let document = require('sketch/dom').getSelectedDocument()
to the data related JS file.Sketch
>Preferences
>Data
and scroll to the specific Data Plugin line - the plugin is disbaled (see screenshot attached).The text was updated successfully, but these errors were encountered: