Added new command palette

This commit is contained in:
Mawoka
2023-06-22 18:54:27 +02:00
parent e0db6427af
commit a71c168eb2
8 changed files with 585 additions and 3 deletions
@@ -7,8 +7,12 @@
import type { Data } from '$lib/quiztivity/types';
import Editor from '$lib/quiztivity/editor.svelte';
import { goto } from '$app/navigation';
import { page } from '$app/stores';
let data: Data = { pages: [], id: undefined, title: '' };
let title = $page.url.searchParams.get('title');
title ??= '';
let data: Data = { pages: [], id: undefined, title };
let saving = false;
const save_quiztivity = async () => {