From 6fdce9e0811829d920c15e11b641bf9ec34f69c4 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 3 Oct 2024 05:28:39 +0530 Subject: [PATCH] added fixme --- src/canvas/widgets/base.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/canvas/widgets/base.js b/src/canvas/widgets/base.js index cbc2af3..ef653d1 100644 --- a/src/canvas/widgets/base.js +++ b/src/canvas/widgets/base.js @@ -20,6 +20,9 @@ import { message } from "antd" // FIXME: the drag drop indicator is not going invisible if the drop happens on the child // FIXME: once the width and height is set to fit-content, it can no longer be resized + +// FIXME: if the label, buttons are dropped directly on canvas, the background colors don't apply + const ATTRS_KEYS = ['value', 'label', 'tool', 'onChange', 'options', 'toolProps'] // these are attrs keywords, don't use these keywords as keys while defining the attrs property or serializing