feat: checkbox widget status,fix image emabed and upload issue

This commit is contained in:
RaktimaNXG
2024-01-25 16:18:37 +05:30
parent ad5776cfba
commit bc90da4cf2
10 changed files with 284 additions and 58 deletions
@@ -3,8 +3,14 @@ import { themeColor } from "../../utils/ThemeColor/backColor";
import { defaultWidthHeight, resizeBorderExtraWidth } from "../../utils/Utils";
function PlaceholderBorder(props) {
const getResizeBorderExtraWidth = resizeBorderExtraWidth();
const defaultWidth = defaultWidthHeight(props.pos.type).width;
const defaultHeight = defaultWidthHeight(props.pos.type).height;
const defaultWidth =
props.pos.type === "checkbox" && props.isPlaceholder
? 50
: defaultWidthHeight(props.pos.type).width;
const defaultHeight =
props.pos.type === "checkbox" && props.isPlaceholder
? 50
: defaultWidthHeight(props.pos.type).height;
return (
<div