Hi,
I’m trying to disable HTML tag completion in CodeMirror 6 with the markdown
extension.
For example, with the following editor, typing <div>
inserts <div></div>
.
let view = new EditorView({
doc: "Example:",
extensions: [
markdown({
autocompleteMarkup: false,
completeHTMLTags: false,
}),
],
parent: document.body
})
This, however, still auto-closes certain HTML tags after typing >
: Typing <div>
inserts <div></div>
.
Is it possible to disable this behavior?
Thank you for your time!