solid-monaco icon indicating copy to clipboard operation
solid-monaco copied to clipboard

Monaco Editor component for SolidJS

Results 7 solid-monaco issues
Sort by recently updated
recently updated
newest added

Thanks for this nice package Alex, wanted to update the deps to latest if possible. Let me know if this is mergeable. Did not update eslint as because the migration...

### Describe the bug - in app when using tailwindcss editor become almost invisible - is way to change some class or wrap it in some div ### Minimal Reproduction...

### Describe The Problem To Be Solved To have in editor SQL Completion support ### Suggest A Solution - simple registration monaco languages registerCompletionItemProvider - some thnig like https://www.npmjs.com/package/monaco-sql-languages?activeTab=readme

Something like this. ``` import loader from '@monaco-editor/loader'; loader.config({ 'vs/nls': { availableLanguages: { '*': 'zh-cn' } } }); ```

# Introducing a few more config props & bundling changes The current implementation uses: ```ts import * as monacoEditor from 'monaco-editor' ``` which causes the entire 3.2MB Monaco Editor library...

### Describe the bug If I'm right, the `loader.config` causes the `monaco-editor` to be **fully** included in the bundle, although it is actually loaded through CDN. https://github.com/alxnddr/solid-monaco/blob/41284a44c8e3bd874522c23b5d7dae5891bc38cd/src/MonacoEditor.tsx#L2 https://github.com/alxnddr/solid-monaco/blob/41284a44c8e3bd874522c23b5d7dae5891bc38cd/src/MonacoEditor.tsx#L51-L52 Building your...