stencila/designa

CodeChunk: Allow consuming projects to hook into CodeMirror internals

Closed this issue · 0 comments

For some advanced use cases such as creating custom ProsMirror render NodeViews with our WebComponents, it's necessary to communicate with the internal CodeMirror instance.

Currently the code-editor component makes this possible, but the code-chunk component, which wraps the code-editor, does not forward relevant props or methods.