Use <py-terminal> as default target (#1826)

This commit is contained in:
Andrea Giammarchi
2023-10-31 16:58:20 +01:00
committed by GitHub
parent 72f266532b
commit b31af823d1
3 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ const pyTerminal = async () => {
document.querySelector(selector);
if (!target) throw new Error(`Unknown target ${selector}`);
} else {
target = document.createElement(`${element.type}-terminal`);
target = document.createElement("py-terminal");
target.style.display = "block";
element.after(target);
}