From 23b5d550c4c9bba86e1c626799327abb848dc14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mino=20Rem?= <29999+remino@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:35:38 +0900 Subject: [PATCH] Move initial playground source to HTML --- assets/js/playground.js | 3 ++- source/semcss/playground.html.slim | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/js/playground.js b/assets/js/playground.js index 6ace1c7..a62666c 100644 --- a/assets/js/playground.js +++ b/assets/js/playground.js @@ -6,6 +6,8 @@ import { dracula } from 'thememirror' class PlaygroundApp extends HTMLElement { connectedCallback() { + const doc = this.innerHTML + this.innerHTML = `