Skip to content

Conversation

@fabiog1901
Copy link

Added options variable for editor configuration. This allows monaco to be configured with all options available at https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.html , such as the fontSize.

Example

monaco(
                default_language="yaml",
                default_value="",
                value=State.modified_content,
                on_change=State.on_change.debounce(1000),
                options={"fontSize":14},
                width="100%",
            ),

Added options variable for editor configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant