Skip to content

Error when editing in HTML mode #33

@bitFez

Description

@bitFez

I seem to be getting an error in HTML mode once I click to edit a Python Snippet and it adds a new line.

In the example below, I add a line above the msg variable in order to assign the name variable.
image

This is my current HTML code:

<pre>
msg = f"Hello, {name}!"
print(msg)
</pre>

<codapi-snippet engine="wasi" sandbox="python" editor="basic"></codapi-snippet>

For context, I am using the following files all loaded in the order shown below and they are loading from my own directories and not via cdn.

  • runno.js
  • wasi.js
  • snippet.js
  • snippet.css

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions