Skip to content

Plugin: allow overriding editor options (tab size, etc) #361

Open
@BrianGenisio

Description

@BrianGenisio

Graphiql currently supports a theme editor override with editorTheme but I'm hoping to have finer control over the CodeMirror options. Ideally, a editorOptions property would allow any property to be overridden so that as a user, I can control things like the tab spacing:

editorOptions: {
    tabSize: 4,
    indentUnit: 4
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions