From 23ab75304dde9e3ca2412639f23337dc69f2df1b Mon Sep 17 00:00:00 2001 From: Gary Bishop Date: Mon, 15 Apr 2024 13:25:12 -0400 Subject: [PATCH 1/2] Save only content from the spreadsheet not dynamic. --- src/components/toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/toolbar.js b/src/components/toolbar.js index e28da8fd..88bbd22c 100644 --- a/src/components/toolbar.js +++ b/src/components/toolbar.js @@ -300,7 +300,7 @@ function getFileMenuItems(bar) { label: "Save sheet", title: "Save the content as a spreadsheet", callback: () => { - saveContent(db.designName, Globals.data.allrows, "xlsx"); + saveContent(db.designName, Globals.data.contentRows, "xlsx"); }, }), new MenuItem({ From 8323efbe529307b3227a7d96f7e11df705b57cb7 Mon Sep 17 00:00:00 2001 From: Gary Bishop Date: Wed, 17 Apr 2024 13:53:19 -0400 Subject: [PATCH 2/2] Fix #248 span inside button inteferes with pointer --- src/css/grid.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/css/grid.css b/src/css/grid.css index c7e7f88b..37063f5f 100644 --- a/src/css/grid.css +++ b/src/css/grid.css @@ -49,6 +49,10 @@ body:not(.designing) video[dbsrc]:not([src]) { height: 100%; min-height: 0; } + +.grid button span { + pointer-events: none; +} .grid b { color: blue; }