-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Html workers #3
Comments
@gusdaud I am not sure what you mean. https://microsoft.github.io/monaco-editor/index.html uses the Are you running your sample pages on a real protocol (such as
|
Hey Alex. I'm running on http localhost and on google Chrome. I've managed to make auto complete and other features provided by the workers to function by manually copying some files to my project such as: \min\vs\languages\html\common\htmlWorker.js That didn't come when I NPM INSTALL Monaco. (I had to debug the online samples to figure which files were missing) |
The sample code for running cross origin is wrong. The variable for setting the cross origin worker url should be GlobalEnvironment, not MonacoEnvironment. See this commit microsoft/vscode@70072cb |
brought back in microsoft/vscode@50fabe9 |
Nice! Fixed here! |
Hi, is html workers coming to this package ?
I've managed to make they work by copying the missing files from the demo pages to the same folders in my project.
It did great except for inline css and javascript and script tags which didn't work.
The text was updated successfully, but these errors were encountered: