@flozy/editor 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/CommonEditor.js +3 -2
- package/dist/Editor/Editor.css +358 -316
- package/dist/Editor/Elements/Accordion/Accordion.js +31 -9
- package/dist/Editor/Elements/Accordion/AccordionSummary.js +17 -5
- package/dist/Editor/Elements/AppHeader/AppHeader.js +2 -1
- package/dist/Editor/Elements/Button/EditorButton.js +8 -2
- package/dist/Editor/Elements/Carousel/Carousel.js +38 -18
- package/dist/Editor/Elements/Embed/Video.js +3 -4
- package/dist/Editor/Elements/Grid/Grid.js +10 -3
- package/dist/Editor/Elements/Grid/GridButton.js +24 -5
- package/dist/Editor/Elements/Grid/GridItem.js +11 -4
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +14 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/alignment.js +28 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/index.js +3 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/saveAsTemplate.js +3 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/text.js +4 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/textAlign.js +60 -0
- package/dist/Editor/utils/SlateUtilityFunctions.js +2 -1
- package/dist/Editor/utils/grid.js +0 -1
- package/package.json +1 -1
@@ -60,7 +60,8 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
|
|
60
60
|
needDotsBG,
|
61
61
|
footer,
|
62
62
|
needLayout = true,
|
63
|
-
CHARACTERS = []
|
63
|
+
CHARACTERS = [],
|
64
|
+
editorClass
|
64
65
|
} = otherProps || {};
|
65
66
|
const editor = useMemo(() => {
|
66
67
|
if (collaborativeEditor) return collaborativeEditor;
|
@@ -234,7 +235,7 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
|
|
234
235
|
fullScreen: fullScreen,
|
235
236
|
footer: footer || "",
|
236
237
|
children: /*#__PURE__*/_jsx("div", {
|
237
|
-
className:
|
238
|
+
className: `editor-t-wrapper ${editorClass || ""}`,
|
238
239
|
style: {
|
239
240
|
display: "flex",
|
240
241
|
flexDirection: "column",
|