You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, thanks for the work that goes into making this plugin...
I am using the latest version @sanity/code-input within my sanity studio(v2). I have a type: code set within my block-text.js (portable-text) and I am receiving the following errors:
Refused to execute script from 'http://localhost:3333/studio/desk/worker-javascript.js' because its MIME type ('text/html') is not executable.
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope'
Here is a screenshot of the error itself:
Not sure what is going on with this here... It doesn't seem to effect anything on the client-side. The errors show up whenever I add in any type of code within the code-block editor.
Hey there, thanks for the work that goes into making this plugin...
I am using the latest version
@sanity/code-input
within my sanity studio(v2). I have atype: code
set within myblock-text.js
(portable-text) and I am receiving the following errors:Here is a screenshot of the error itself:
Here are my
package.json
sanity files:And here is a short version of my
block-text.js
file (portable-text):While this error doesn't affect my workflow, the console errors are somewhat annoying 😖
The text was updated successfully, but these errors were encountered: