This includes a simple code mirror editor for a Gmail query language.
This editor provides a first version of:
- Syntax highlighting
- Keyword autocomplete
- Syntax error linting
Install the npm package
npm i gmail-lang-cm-editor
yarn add gmail-lang-cm-editor
Import the gmail language editor from your code and use it.
import { Editor } from 'gmail-lang-cm-editor'
Clone the project
git clone https://github.com/FedeLochbaum/gmail-lang-cm-editor.git
Run the component stories
yarn stories