You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to attach to existing ngx-codemirro by passing existing native element to EditorView constructor
new EditorView({
parent: existingCodemirror
})
that I got from template from existing ngx-codemirror element with viewChild, but that did nothing
Codemirror documentation shows a way to create view:
let myView = new EditorView({
doc: '',
extensions: [placeholders],
parent: document.body
})
In this example there is a way to use extensions, but does ngx-codemirror allows to pass extensions? Or is there any way to attach extensions?
The text was updated successfully, but these errors were encountered: