Skip to content

CodeExpression: output property not rendered when initially empty #287

@nokome

Description

@nokome

This illustrates the problem - the two code expressions, which initially have no output, have successfully executed but their output is not rendered:

image

This is despite the fact that the output slot has been updated,

<span class="hidden slot sc-stencila-code-expression-default sc-stencila-code-expression-default-s">
  <output data-itemprop="output" slot="output">
      <span itemtype="http://schema.stenci.la/Number" itemscope="">3</span>
  </output>
</span>

When reloading the page the output is rendered properly,

image

Bug occurs on both Firefox and Chromium.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions