I am trying to create a bare bones editor and add features as required. However, it seems like highlighting bracket pairs and automatically adding the closing bracket is on by default. Other features that I thought were optional like line numbers showing and current line highlighting are also active. How do I disable it? Here is my code:
const editorSetup = EditorState.create({
doc: '',
extensions: [
keymap.of([
...defaultKeymap,
])
]
})
const editor = new EditorView({
state: editorSetup,
parent: cmParent
})