diff --git a/src/app/editor/page.tsx b/src/app/editor/page.tsx index 52b55db..5c4428d 100644 --- a/src/app/editor/page.tsx +++ b/src/app/editor/page.tsx @@ -438,6 +438,9 @@ function EditorPageInner() { }; const handleClearCanvas = () => { + const ok = window.confirm(m.confirmClearCanvas); + if (!ok) return; + replaceBlocks([]); setExportJson(""); setImportJson(""); @@ -1173,6 +1176,19 @@ function EditorPageInner() { {m.menuJsonImportExport} + -