graphql / graphql/graphiql

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

Open
#361 0 comments 0 reactions 0 assignees View on GitHub
enhancement graphiql potential plugin
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

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
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.