stencila/designa

CodeChunk: errors when typing more than one line

Closed this issue · 3 comments

The following error occurs regardless of the language selected or the text entered. The first error happens on the first keypress after the new line, the others on subsequent keypresses. This is a high priority bug because it makes the component useless for anything other than single line snippets of code.

image

image

This is an upstream issue and will be fixed with an upcoming release.

Meanwhile we can instantiate the editor with placeholder text to work around it

Wondering, is this resolved? I tried to test using https://stencila.github.io/designa/?path=/story/molecules-code-chunk--single-code-chunk but that seems to be broken?

Seems a release was never made. Closed by 4c84795