build editor

This commit is contained in:
2023-10-23 18:05:06 +03:00
parent e2e3842cd0
commit 9346969d2b
19 changed files with 534 additions and 206 deletions
@@ -2,11 +2,10 @@
import Icon from "../../common/Icon.svelte";
import {insertBlock} from "./block";
export let blockId;
export let blockId = "";
export let blockData;
export let blockSchema;
$: showOptions = false;
let validUis = ["heading", "textarea", "rich", "reference"];
function createBlock(e, ui) {
e.preventDefault();