dawg what the fuck

This commit is contained in:
2026-01-12 07:46:01 +13:00
parent dbb466ffe9
commit 2655a16a12
6 changed files with 3596 additions and 3 deletions

View File

@@ -1,6 +1,25 @@
---
import "../styles/global.css"
---
<script is:inline>
import Quill from "quill";
const quill = new Quill('#editor', {
modules: {
toolbar: [
[{ header: [1, 2, false] }],
['bold', 'italic', 'underline'],
['image'],
],
},
placeholder: 'Compose an epic...',
theme: 'snow', // or 'bubble'
});
</script>
---
<html lang="en">
<head>
@@ -12,5 +31,19 @@
</head>
<body>
<h1>Astro</h1>
<div id="editor">
<p>Hello World!</p>
<p>Some initial <strong>bold</strong> text</p>
<p><br /></p>
</div>
<!-- <button id="render" class="mt-2" onclick="renderText">
render
</button> -->
<div id="snya">
</div>
</body>
</html>