feat: add comment functionality for snippets with modal interface

This commit is contained in:
2025-01-25 19:33:23 +02:00
parent 52543943bc
commit d847de361c
4 changed files with 118 additions and 2 deletions

View File

@@ -62,7 +62,11 @@
<div id="vis"></div>
</div>
</div>
<div id="comment-modal-background" class="comment-modal-background"></div>
<div id="comment-modal" class="comment-modal">
<textarea id="comment-textarea" placeholder="Add your comment here..."></textarea>
<button class="button" id="comment-modal-save">Save</button>
</div>
<script type="module" src="src/main.js"></script>
</body>