feat: tools backend

This commit is contained in:
Timothy J. Baek
2024-06-10 20:39:55 -07:00
parent c4629c8c2d
commit 3a96e1f109
8 changed files with 611 additions and 20 deletions

View File

@@ -14,7 +14,7 @@
description: ''
};
let code = '';
let content = '';
$: if (name) {
id = name.replace(/\s+/g, '_').toLowerCase();
@@ -97,7 +97,7 @@
</div>
<div class="mb-2 flex-1 overflow-auto h-0 rounded-lg">
<CodeEditor bind:value={code} bind:this={codeEditor} {saveHandler} />
<CodeEditor bind:value={content} bind:this={codeEditor} {saveHandler} />
</div>
<div class="pb-3 flex justify-end">