@flozy/editor 7.0.6 → 7.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/Editor/CommonEditor.js +19 -19
  2. package/dist/Editor/Editor.css +3 -4
  3. package/dist/Editor/Elements/AI/PopoverAIInput.js +12 -2
  4. package/dist/Editor/Elements/Button/EditorButton.js +0 -1
  5. package/dist/Editor/Elements/DataView/DataView.js +3 -4
  6. package/dist/Editor/Elements/DataView/Layouts/DataTypes/NumberType.js +1 -5
  7. package/dist/Editor/Elements/DataView/Layouts/DataTypes/TextType.js +1 -5
  8. package/dist/Editor/Elements/DataView/Layouts/FilterView.js +19 -23
  9. package/dist/Editor/Elements/Form/Form.js +0 -1
  10. package/dist/Editor/Elements/FreeGrid/styles.js +0 -1
  11. package/dist/Editor/Elements/List/CheckList.js +1 -2
  12. package/dist/Editor/Elements/Search/SearchAttachment.js +0 -1
  13. package/dist/Editor/Elements/Search/SearchList.js +1 -8
  14. package/dist/Editor/Elements/SimpleText/index.js +7 -19
  15. package/dist/Editor/Elements/SimpleText/style.js +1 -5
  16. package/dist/Editor/Elements/Table/Table.js +15 -15
  17. package/dist/Editor/Elements/Table/TableCell.js +9 -14
  18. package/dist/Editor/MiniEditor.js +2 -4
  19. package/dist/Editor/Styles/EditorStyles.js +287 -291
  20. package/dist/Editor/Toolbar/PopupTool/AddTemplates.js +28 -37
  21. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectAlignment.js +1 -3
  22. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +1 -1
  23. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectList.js +1 -3
  24. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +8 -3
  25. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +3 -9
  26. package/dist/Editor/Toolbar/PopupTool/TemplateCard.js +1 -1
  27. package/dist/Editor/Toolbar/PopupTool/TextFormat.js +0 -45
  28. package/dist/Editor/Toolbar/PopupTool/index.js +32 -57
  29. package/dist/Editor/common/FontLoader/FontList.js +11 -11
  30. package/dist/Editor/common/FontLoader/FontLoader.js +75 -45
  31. package/dist/Editor/common/ImageSelector/Options/Upload.js +1 -1
  32. package/dist/Editor/common/ImageSelector/UploadStyles.js +1 -2
  33. package/dist/Editor/common/MentionsPopup/index.js +1 -0
  34. package/dist/Editor/common/RnD/ElementSettings/styles.js +0 -1
  35. package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +0 -6
  36. package/dist/Editor/common/Section/index.js +60 -89
  37. package/dist/Editor/common/StyleBuilder/fieldTypes/index.js +1 -3
  38. package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +0 -4
  39. package/dist/Editor/commonStyle.js +0 -5
  40. package/dist/Editor/helper/deserialize/index.js +1 -1
  41. package/dist/Editor/helper/theme.js +1 -24
  42. package/dist/Editor/hooks/useDrag.js +17 -11
  43. package/dist/Editor/hooks/useEditorScroll.js +1 -2
  44. package/dist/Editor/hooks/useMouseMove.js +4 -6
  45. package/dist/Editor/plugins/withHTML.js +1 -7
  46. package/dist/Editor/utils/SlateUtilityFunctions.js +12 -23
  47. package/dist/Editor/utils/customHooks/useTableResize.js +1 -2
  48. package/dist/Editor/utils/helper.js +0 -41
  49. package/dist/Editor/utils/pageSettings.js +2 -14
  50. package/dist/Editor/utils/table.js +0 -21
  51. package/package.json +3 -3
  52. package/dist/Editor/common/StyleBuilder/fieldTypes/lineSpacing.js +0 -79
  53. package/dist/Editor/helper/ensureWrappedVariables.js +0 -28
@@ -11,7 +11,6 @@ import withCommon from "./hooks/withCommon";
11
11
  import { serializeToText } from "./utils/serializeToText";
12
12
  import "./Editor.css";
13
13
  import { EditorProvider } from "./hooks/useMouseMove";
14
- import { ensureWrappedVariables } from "./helper/ensureWrappedVariables";
15
14
  import { jsx as _jsx } from "react/jsx-runtime";
16
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
16
  const MiniEditor = props => {
@@ -37,8 +36,7 @@ const MiniEditor = props => {
37
36
  needLayout: false
38
37
  }));
39
38
  const [isInteracted, setIsInteracted] = useState(false);
40
- const updatedContent = ensureWrappedVariables(content);
41
- const [value, setValue] = useState(ensureWrappedVariables(updatedContent));
39
+ const [value, setValue] = useState(content);
42
40
  const [deboundedValue] = useDebounce(value, 500);
43
41
  const isReadOnly = readOnly === "readonly";
44
42
  const customProps = {
@@ -151,7 +149,7 @@ const MiniEditor = props => {
151
149
  theme: theme,
152
150
  children: /*#__PURE__*/_jsxs(Slate, {
153
151
  editor: editor,
154
- initialValue: updatedContent,
152
+ initialValue: content,
155
153
  onChange: onChange,
156
154
  children: [/*#__PURE__*/_jsx(BasicToolbar, {
157
155
  ...props,
@@ -1,329 +1,325 @@
1
1
  const editorStyles = ({
2
2
  padHeight,
3
3
  placeHolderColor,
4
- theme,
5
- overrideWrapperStyles = {}
6
- }) => {
7
- return {
8
- root: {
9
- display: "flex",
10
- position: "relative",
11
- padding: "0px",
12
- alignItems: "center",
13
- justifyContent: "center",
14
- "*": {
15
- boxSizing: "border-box"
16
- },
17
- "&.iframe-editor": {
18
- "& .mini-tool-wrpr-ei": {
19
- display: "none"
20
- }
4
+ theme
5
+ }) => ({
6
+ root: {
7
+ display: "flex",
8
+ position: "relative",
9
+ padding: "0px",
10
+ alignItems: "center",
11
+ justifyContent: "center",
12
+ "*": {
13
+ boxSizing: "border-box"
14
+ },
15
+ "&.iframe-editor": {
16
+ "& .mini-tool-wrpr-ei": {
17
+ display: "none"
18
+ }
19
+ },
20
+ "& .mobileMiniTextWrapper": {
21
+ boxShadow: "0px 0px 10px 0px rgba(0, 0, 0, 0.16)",
22
+ position: "fixed",
23
+ bottom: "env(safe-area-inset-bottom)",
24
+ left: 0,
25
+ width: "100%",
26
+ zIndex: 99999,
27
+ backgroundColor: theme?.palette?.editor?.background || "#fff",
28
+ color: theme?.palette?.editor?.textColor || "black",
29
+ "& .MuiOutlinedInput-input": {
30
+ color: theme?.palette?.editor?.textColor || "black"
31
+ }
32
+ },
33
+ "&.stimulate-xs": {
34
+ "& .scrollable-content": {
35
+ width: "320px"
21
36
  },
22
- "& .mobileMiniTextWrapper": {
23
- boxShadow: "0px 0px 10px 0px rgba(0, 0, 0, 0.16)",
24
- position: "fixed",
25
- bottom: "env(safe-area-inset-bottom)",
37
+ ":before": {
38
+ content: '" "',
39
+ position: "absolute",
40
+ top: 0,
26
41
  left: 0,
27
- width: "100%",
28
- zIndex: 99999,
29
- backgroundColor: theme?.palette?.editor?.background || "#fff",
30
- color: theme?.palette?.editor?.textColor || "black",
31
- "& .MuiOutlinedInput-input": {
32
- color: theme?.palette?.editor?.textColor || "black"
33
- }
42
+ width: "calc(50% - 162px)",
43
+ height: "100%",
44
+ pointerEvents: "none",
45
+ backgroundColor: "#FFF",
46
+ zIndex: 10
34
47
  },
35
- "&.stimulate-xs": {
36
- "& .scrollable-content": {
37
- width: "320px"
38
- },
39
- ":before": {
40
- content: '" "',
41
- position: "absolute",
42
- top: 0,
43
- left: 0,
44
- width: "calc(50% - 162px)",
45
- height: "100%",
46
- pointerEvents: "none",
47
- backgroundColor: "#FFF",
48
- zIndex: 10
49
- },
50
- ":after": {
51
- content: '" "',
52
- position: "absolute",
53
- top: 0,
54
- right: 0,
55
- width: "calc(50% - 160px)",
56
- height: "100%",
57
- pointerEvents: "none",
58
- backgroundColor: "#FFF",
59
- zIndex: 10
60
- }
48
+ ":after": {
49
+ content: '" "',
50
+ position: "absolute",
51
+ top: 0,
52
+ right: 0,
53
+ width: "calc(50% - 160px)",
54
+ height: "100%",
55
+ pointerEvents: "none",
56
+ backgroundColor: "#FFF",
57
+ zIndex: 10
58
+ }
59
+ }
60
+ },
61
+ slateWrapper: {
62
+ paddingTop: "0px",
63
+ height: `${window.innerHeight - padHeight}px`,
64
+ width: "100%",
65
+ overflowY: "auto",
66
+ overflowX: "hidden",
67
+ display: "flex",
68
+ flexDirection: "column",
69
+ alignItems: "center",
70
+ color: "#0f172a",
71
+ "& .has-topbanner": {
72
+ "& .doc-title-ele-wrpr": {
73
+ marginTop: "12px"
74
+ }
75
+ },
76
+ "&.no-color": {
77
+ backgroundColor: theme?.palette?.editor?.background,
78
+ color: theme?.palette?.editor?.textColor,
79
+ "&.pc-page-builder": {
80
+ backgroundColor: "#FFF",
81
+ color: "#000"
61
82
  },
62
- ...overrideWrapperStyles
83
+ "& .signed-btn": {
84
+ "& img": {
85
+ backgroundColor: "#FFF"
86
+ }
87
+ }
63
88
  },
64
- slateWrapper: {
65
- paddingTop: "0px",
66
- height: `${window.innerHeight - padHeight}px`,
89
+ "& .max-content": {
67
90
  width: "100%",
68
- overflowY: "auto",
69
- overflowX: "hidden",
70
91
  display: "flex",
92
+ flex: 1,
71
93
  flexDirection: "column",
72
- alignItems: "center",
73
- color: "#0f172a",
74
- "& .has-topbanner": {
75
- "& .doc-title-ele-wrpr": {
76
- marginTop: "12px"
94
+ paddingBottom: "25px !important"
95
+ },
96
+ "& .scroll-area": {
97
+ display: "flex",
98
+ justifyContent: "center",
99
+ flex: 1
100
+ },
101
+ "& .editor-wrapper": {
102
+ maxWidth: "100%",
103
+ height: "100%",
104
+ overflow: "visible",
105
+ "& .section-wrapper-fluid": {
106
+ "& .grid-container": {
107
+ maxWidth: "1440px"
77
108
  }
78
- },
79
- "&.no-color": {
80
- backgroundColor: theme?.palette?.editor?.background,
81
- color: theme?.palette?.editor?.textColor,
82
- "&.pc-page-builder": {
83
- backgroundColor: "#FFF",
84
- color: "#000"
109
+ }
110
+ },
111
+ "& .el-toolbar": {
112
+ position: "absolute",
113
+ left: 0,
114
+ top: 0,
115
+ width: "fit-content",
116
+ "& button": {
117
+ border: "1px solid rgba(37, 99, 235, 0.32)",
118
+ borderRadius: "10px",
119
+ boxShadow: "0px 0px 10px 0px rgba(0, 0, 0, 0.16)",
120
+ background: "#fff",
121
+ width: "36px",
122
+ height: "36px",
123
+ "&.mr": {
124
+ marginRight: "2px"
85
125
  },
86
- "& .signed-btn": {
87
- "& img": {
88
- backgroundColor: "#FFF"
126
+ "& svg": {
127
+ stroke: "rgb(100, 116, 139);"
128
+ }
129
+ }
130
+ },
131
+ "& .accordion-summary-collapse-btn": {
132
+ padding: "4px",
133
+ width: '5px'
134
+ },
135
+ "& .workflow-icon-btn": {
136
+ pointerEvents: "none",
137
+ position: "absolute",
138
+ right: "-9px",
139
+ top: "-9px",
140
+ border: "2px solid #f3b814",
141
+ padding: "0px",
142
+ background: "#FFF",
143
+ "& svg": {
144
+ width: "18px",
145
+ height: "18px"
146
+ }
147
+ },
148
+ "& .svg-big-btn": {
149
+ padding: "2px !important",
150
+ "& svg": {
151
+ width: "24px !important",
152
+ height: "24px !important"
153
+ }
154
+ },
155
+ "& .ed-section-wrapper": {
156
+ display: "flex",
157
+ width: "100%",
158
+ justifyContent: "center",
159
+ alignItems: "center",
160
+ position: "relative",
161
+ "&:hover": {
162
+ "& .ed-section-inner": {
163
+ "& .element-toolbar.ss": {
164
+ display: "block",
165
+ left: "8px",
166
+ top: "8px",
167
+ width: "fit-content",
168
+ "& button": {
169
+ boxShadow: "none",
170
+ color: "#D7D7D6",
171
+ background: "rgb(221, 221, 221, 0.1)",
172
+ "&:hover": {
173
+ background: "rgb(221, 221, 221, 0.8)"
174
+ }
175
+ }
89
176
  }
177
+ },
178
+ "&.hselect:before": {
179
+ display: "block"
90
180
  }
91
181
  },
92
- "& .max-content": {
93
- width: "100%",
94
- display: "flex",
95
- flex: 1,
96
- flexDirection: "column",
97
- paddingBottom: "25px !important"
98
- },
99
- "& .scroll-area": {
100
- display: "flex",
101
- justifyContent: "center",
102
- flex: 1
103
- },
104
- "& .editor-wrapper": {
105
- maxWidth: "100%",
106
- height: "100%",
107
- overflow: "visible",
108
- "& .section-wrapper-fluid": {
109
- "& .grid-container": {
110
- maxWidth: "1440px"
111
- }
182
+ "& .ed-section-inner": {
183
+ maxWidth: "1440px",
184
+ "& .element-toolbar.ss": {
185
+ display: "none"
112
186
  }
113
187
  },
114
- "& .el-toolbar": {
188
+ "&.needHover:before": {
189
+ content: '" "',
115
190
  position: "absolute",
191
+ width: "calc(100% - 2px)",
192
+ height: "calc(100% - 2px)",
116
193
  left: 0,
117
194
  top: 0,
118
- width: "fit-content",
119
- "& button": {
120
- border: "1px solid rgba(37, 99, 235, 0.32)",
121
- borderRadius: "10px",
122
- boxShadow: "0px 0px 10px 0px rgba(0, 0, 0, 0.16)",
123
- background: "#fff",
124
- width: "36px",
125
- height: "36px",
126
- "&.mr": {
127
- marginRight: "2px"
128
- },
129
- "& svg": {
130
- stroke: "rgb(100, 116, 139);"
131
- }
132
- }
133
- },
134
- "& .accordion-summary-collapse-btn": {
135
- padding: "4px",
136
- width: '5px'
137
- },
138
- "& .workflow-icon-btn": {
195
+ border: "1px solid transparent",
196
+ background: "rgba(0,0,0,0.05)",
139
197
  pointerEvents: "none",
140
- position: "absolute",
141
- right: "-9px",
142
- top: "-9px",
143
- border: "2px solid #f3b814",
144
- padding: "0px",
145
- background: "#FFF",
146
- "& svg": {
147
- width: "18px",
148
- height: "18px"
149
- }
198
+ display: "none"
199
+ }
200
+ },
201
+ "& .element-empty-btn": {
202
+ backgroundColor: "rgb(242, 241, 238)",
203
+ color: "rgba(55, 53, 47, 0.65)",
204
+ outline: 0,
205
+ border: 0,
206
+ padding: "16px 12px",
207
+ width: "100%",
208
+ cursor: "pointer",
209
+ display: "flex",
210
+ alignItems: "center",
211
+ justifyContent: "center",
212
+ borderRadius: "12px",
213
+ "& svg": {
214
+ marginRight: "8px"
215
+ }
216
+ },
217
+ "& .content-editable.empty": {
218
+ "&:after": {
219
+ color: theme?.palette?.type === "dark" ? "#99A5B6" : placeHolderColor
220
+ }
221
+ },
222
+ "& .checkbox-edit": {
223
+ alignSelf: "flex-start",
224
+ "& .MuiFormControlLabel-root": {
225
+ marginRight: "0px"
150
226
  },
151
- "& .svg-big-btn": {
152
- padding: "2px !important",
227
+ "& .MuiCheckbox-root": {
228
+ padding: "5px",
153
229
  "& svg": {
154
- width: "24px !important",
155
- height: "24px !important"
156
- }
157
- },
158
- "& .ed-section-wrapper": {
159
- display: "flex",
160
- width: "100%",
161
- justifyContent: "center",
162
- alignItems: "center",
163
- position: "relative",
164
- "&:hover": {
165
- "& .ed-section-inner": {
166
- "& .element-toolbar.ss": {
167
- display: "block",
168
- left: "8px",
169
- top: "8px",
170
- width: "fit-content",
171
- "& button": {
172
- boxShadow: "none",
173
- color: "#D7D7D6",
174
- background: "rgb(221, 221, 221, 0.1)",
175
- "&:hover": {
176
- background: "rgb(221, 221, 221, 0.8)"
177
- }
178
- }
179
- }
180
- },
181
- "&.hselect:before": {
182
- display: "block"
183
- }
184
- },
185
- "& .ed-section-inner": {
186
- maxWidth: "1440px",
187
- "& .element-toolbar.ss": {
188
- display: "none"
189
- }
190
- },
191
- "&.needHover:before": {
192
- content: '" "',
193
- position: "absolute",
194
- width: "calc(100% - 2px)",
195
- height: "calc(100% - 2px)",
196
- left: 0,
197
- top: 0,
198
- border: "1px solid transparent",
199
- background: "rgba(0,0,0,0.05)",
200
- pointerEvents: "none",
201
- display: "none"
230
+ width: "20px",
231
+ height: "20px"
202
232
  }
203
- },
204
- "& .element-empty-btn": {
205
- backgroundColor: "rgb(242, 241, 238)",
206
- color: "rgba(55, 53, 47, 0.65)",
207
- outline: 0,
208
- border: 0,
209
- padding: "16px 12px",
210
- width: "100%",
211
- cursor: "pointer",
212
- display: "flex",
213
- alignItems: "center",
214
- justifyContent: "center",
215
- borderRadius: "12px",
233
+ }
234
+ },
235
+ "& .tools-drawer": {
236
+ zIndex: 1300,
237
+ "& .MuiDrawer-paper": {
238
+ backgroundColor: theme?.palette?.editor?.background
239
+ }
240
+ },
241
+ "& .section-tw": {
242
+ background: 'transparent !important',
243
+ "& button": {
244
+ padding: "2px",
245
+ borderRadius: "0px",
216
246
  "& svg": {
217
- marginRight: "8px"
218
- }
219
- },
220
- "& .content-editable.empty": {
221
- "&:after": {
222
- color: theme?.palette?.type === "dark" ? "#99A5B6" : placeHolderColor
223
- }
224
- },
225
- "& .checkbox-edit": {
226
- alignSelf: "flex-start",
227
- "& .MuiFormControlLabel-root": {
228
- marginRight: "0px"
229
- },
230
- "& .MuiCheckbox-root": {
231
- padding: "5px",
232
- "& svg": {
233
- width: "20px",
234
- height: "20px"
235
- }
236
- }
237
- },
238
- "& .tools-drawer": {
239
- zIndex: 1300,
240
- "& .MuiDrawer-paper": {
241
- backgroundColor: theme?.palette?.editor?.background
247
+ width: "17px",
248
+ height: "18px",
249
+ marginTop: "-1px"
242
250
  }
243
- },
244
- "& .section-tw": {
245
- background: 'transparent !important',
246
- "& button": {
247
- padding: "2px",
248
- borderRadius: "0px",
249
- "& svg": {
250
- width: "17px",
251
- height: "18px",
252
- marginTop: "-1px"
253
- }
254
- }
255
- },
256
- "& .carousel-item": {
257
- padding: "12px 32px"
258
- },
259
- "& .slick-arrow": {
260
- borderRadius: "50%",
261
- backgroundColor: "#F8FAFF",
262
- textAlign: "center",
263
- border: "1px solid #CFD8F5"
264
- },
265
- "& .embed-image-wrpr .image-frame": {
266
- position: "absolute",
267
- top: 0,
268
- left: 0,
251
+ }
252
+ },
253
+ "& .carousel-item": {
254
+ padding: "12px 32px"
255
+ },
256
+ "& .slick-arrow": {
257
+ borderRadius: "50%",
258
+ backgroundColor: "#F8FAFF",
259
+ textAlign: "center",
260
+ border: "1px solid #CFD8F5"
261
+ },
262
+ "& .embed-image-wrpr .image-frame": {
263
+ position: "absolute",
264
+ top: 0,
265
+ left: 0,
266
+ width: "100%",
267
+ height: "100%",
268
+ padding: "0px",
269
+ // pointerEvents: "none",
270
+ "& svg": {
269
271
  width: "100%",
270
272
  height: "100%",
271
- padding: "0px",
272
- // pointerEvents: "none",
273
- "& svg": {
274
- width: "100%",
275
- height: "100%",
276
- "& .op-zero": {
277
- fillOpacity: 0
278
- }
279
- }
280
- },
281
- "&.hideScroll": {
282
- overflowAnchor: "none",
283
- "&::-webkit-scrollbar-track": {
284
- background: "none !important"
285
- },
286
- "&::-webkit-scrollbar-thumb": {
287
- background: "none !important"
288
- },
289
- "&::-webkit-scrollbar-thumb:hover": {
290
- background: "none !important"
291
- }
292
- },
293
- "& ::selection": {
294
- background: 'rgba(35, 131, 226, 0.35)!important',
295
- color: 'inherit'
296
- },
297
- "&.readOnlyContainer": {
298
- "& .max-content": {
299
- paddingBottom: "0px !important"
273
+ "& .op-zero": {
274
+ fillOpacity: 0
300
275
  }
301
276
  }
302
277
  },
303
- fullScreenWrapper: {
304
- "& .editor-wrapper": {
305
- paddingTop: '20px'
278
+ "&.hideScroll": {
279
+ overflowAnchor: "none",
280
+ "&::-webkit-scrollbar-track": {
281
+ background: "none !important"
306
282
  },
307
- "& .MuiDialog-paper, & .MuiPopover-paper": {
308
- background: `${theme?.palette?.editor?.background} !important`
283
+ "&::-webkit-scrollbar-thumb": {
284
+ background: "none !important"
309
285
  },
310
- "& .MuiPaper-root": {
311
- borderRadius: "0px !important",
312
- "& .MuiDialogTitle-root": {
313
- position: "absolute",
314
- top: 0,
315
- right: "0px",
316
- zIndex: 100
317
- },
318
- "& .MuiDialogContent-root": {
319
- padding: "0px"
320
- }
286
+ "&::-webkit-scrollbar-thumb:hover": {
287
+ background: "none !important"
321
288
  }
322
289
  },
323
- cardsTypo: {
324
- color: theme?.palette?.editor?.textColor,
325
- fontSize: "14px !important"
290
+ "& ::selection": {
291
+ background: 'rgba(35, 131, 226, 0.35)!important',
292
+ color: 'inherit'
293
+ },
294
+ "&.readOnlyContainer": {
295
+ "& .max-content": {
296
+ paddingBottom: "0px !important"
297
+ }
298
+ }
299
+ },
300
+ fullScreenWrapper: {
301
+ "& .editor-wrapper": {
302
+ paddingTop: '20px'
303
+ },
304
+ "& .MuiDialog-paper, & .MuiPopover-paper": {
305
+ background: `${theme?.palette?.editor?.background} !important`
306
+ },
307
+ "& .MuiPaper-root": {
308
+ borderRadius: "0px !important",
309
+ "& .MuiDialogTitle-root": {
310
+ position: "absolute",
311
+ top: 0,
312
+ right: "0px",
313
+ zIndex: 100
314
+ },
315
+ "& .MuiDialogContent-root": {
316
+ padding: "0px"
317
+ }
326
318
  }
327
- };
328
- };
319
+ },
320
+ cardsTypo: {
321
+ color: theme?.palette?.editor?.textColor,
322
+ fontSize: "14px !important"
323
+ }
324
+ });
329
325
  export default editorStyles;