I got this error in developer console:
Plugin Error: Plugin ******** is not permitted to make changes from the background. Return a Promise to continue execution asynchronously.
at convertPluginErrorToString (plugins/PluginErrorUtil.js:1:198)
at internalFormatPluginError (plugins/PluginErrorUtil.js:1:1073)
at internalReportPluginError (plugins/PluginErrorUtil.js:1:1180)
at Object.reportPluginError (plugins/PluginErrorUtil.js:1:1612)
at Object.checkAllowedToEdit (plugins/ScenegraphGuard.js:1:1577)
at Object.<anonymous> (plugins/ClipboardWrapper.js:1:194)
at VueComponent.copySCSSVariablesToClipboard (C:\...\main.js:1344:23)
my code
copySCSSVariablesToClipboard() {
clipboard.copyText(this.scssVariables); // CRUSH HERE
this.showNotification({
text: 'Colors for SCSS is now available on the clipboard',
color: 'green'
});
},
Repository link https://github.com/LeXX/xd-component-to-vue/blob/master/src/app.vue (145 row)