@flozy/editor 9.8.2 → 9.8.3
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.
- package/dist/Editor/ChatEditor.js +19 -26
- package/dist/Editor/CommonEditor.js +25 -139
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +7 -11
- package/dist/Editor/Elements/AI/AIInput.js +3 -5
- package/dist/Editor/Elements/AI/CustomSelect.js +5 -9
- package/dist/Editor/Elements/AI/PopoverAIInput.js +5 -15
- package/dist/Editor/Elements/Accordion/Accordion.js +3 -4
- package/dist/Editor/Elements/Accordion/AccordionBtnPopup.js +1 -4
- package/dist/Editor/Elements/Accordion/AccordionButton.js +2 -6
- package/dist/Editor/Elements/Accordion/AccordionTitlePopup.js +1 -4
- package/dist/Editor/Elements/AppHeader/AppHeader.js +3 -3
- package/dist/Editor/Elements/AppHeader/AppHeaderButton.js +2 -6
- package/dist/Editor/Elements/AppHeader/AppHeaderPopup.js +1 -4
- package/dist/Editor/Elements/Attachments/AttachmentsButton.js +1 -4
- package/dist/Editor/Elements/Button/ButtonPopup.js +1 -4
- package/dist/Editor/Elements/Button/ButtonToolIcon.js +2 -6
- package/dist/Editor/Elements/Button/EditorButton.js +30 -43
- package/dist/Editor/Elements/Carousel/Carousel.js +4 -5
- package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -6
- package/dist/Editor/Elements/Carousel/CarouselItem.js +2 -3
- package/dist/Editor/Elements/ChipText/ChipTextPopup.js +1 -4
- package/dist/Editor/Elements/CodeToText/CodeToText.js +4 -5
- package/dist/Editor/Elements/CodeToText/HtmlContextMenu.js +2 -6
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +14 -60
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +7 -10
- package/dist/Editor/Elements/Color Picker/Styles.js +13 -15
- package/dist/Editor/Elements/Colorbox/ColorboxButton.js +2 -6
- package/dist/Editor/Elements/DataView/DataView.js +2 -5
- package/dist/Editor/Elements/DataView/DataViewButton.js +2 -6
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +2 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +6 -21
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseSort.js +12 -13
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +4 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/index.js +5 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +7 -9
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +3 -8
- package/dist/Editor/Elements/DataView/Layouts/Options/AddProperty.js +3 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +5 -6
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +3 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +7 -9
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +12 -15
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +6 -23
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +4 -6
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +4 -8
- package/dist/Editor/Elements/DataView/Layouts/index.js +1 -3
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +2 -5
- package/dist/Editor/Elements/Divider/Divider.js +3 -5
- package/dist/Editor/Elements/Divider/DividerButton.js +2 -6
- package/dist/Editor/Elements/Divider/DividerPopup.js +2 -3
- package/dist/Editor/Elements/Embed/Embed.js +1 -4
- package/dist/Editor/Elements/Embed/EmbedPopup.js +1 -4
- package/dist/Editor/Elements/Embed/Image.js +11 -16
- package/dist/Editor/Elements/Embed/Video.js +6 -9
- package/dist/Editor/Elements/EmbedScript/Code.js +4 -7
- package/dist/Editor/Elements/EmbedScript/EmbedScript.js +2 -6
- package/dist/Editor/Elements/EmbedScript/EmbedScriptPopup.js +5 -8
- package/dist/Editor/Elements/Emoji/EmojiButton.js +2 -6
- package/dist/Editor/Elements/Form/FieldPopup.js +1 -4
- package/dist/Editor/Elements/Form/Form.js +9 -12
- package/dist/Editor/Elements/Form/FormButton.js +2 -6
- package/dist/Editor/Elements/Form/FormPopup.js +2 -3
- package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +12 -18
- package/dist/Editor/Elements/Form/Workflow/ListWorkflow.js +8 -13
- package/dist/Editor/Elements/Form/Workflow/MoreOptions.js +2 -3
- package/dist/Editor/Elements/Form/Workflow/Styles.js +22 -24
- package/dist/Editor/Elements/Form/Workflow/UserInputs.js +2 -4
- package/dist/Editor/Elements/Form/Workflow/index.js +9 -15
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +23 -67
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +6 -31
- package/dist/Editor/Elements/FreeGrid/FreeGridButton.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +6 -54
- package/dist/Editor/Elements/FreeGrid/Options/AddElement.js +2 -3
- package/dist/Editor/Elements/FreeGrid/Options/More.js +4 -10
- package/dist/Editor/Elements/FreeGrid/styles.js +0 -3
- package/dist/Editor/Elements/Grid/Grid.js +10 -13
- package/dist/Editor/Elements/Grid/GridButton.js +5 -9
- package/dist/Editor/Elements/Grid/GridItem.js +8 -14
- package/dist/Editor/Elements/Grid/GridItemPopup.js +1 -4
- package/dist/Editor/Elements/Grid/GridPopup.js +1 -4
- package/dist/Editor/Elements/Grid/SectionPopup.js +1 -4
- package/dist/Editor/Elements/Link/Link.js +5 -8
- package/dist/Editor/Elements/Link/LinkButton.js +1 -4
- package/dist/Editor/Elements/List/CheckList.js +9 -14
- package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -6
- package/dist/Editor/Elements/PageSettings/PageSettingsButton.js +1 -4
- package/dist/Editor/Elements/PageSettings/PageSettingsPopup.js +1 -4
- package/dist/Editor/Elements/Search/SearchButton.js +4 -7
- package/dist/Editor/Elements/Search/SearchList.js +5 -10
- package/dist/Editor/Elements/Signature/SignatureButton.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/DrawSignature.js +8 -2
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +1 -4
- package/dist/Editor/Elements/Signature/SignaturePopup.js +16 -17
- package/dist/Editor/Elements/SimpleText/index.js +4 -5
- package/dist/Editor/Elements/SimpleText/style.js +2 -2
- package/dist/Editor/Elements/Table/DragButton.js +2 -4
- package/dist/Editor/Elements/Table/Table.js +12 -24
- package/dist/Editor/Elements/Table/TablePopup.js +1 -4
- package/dist/Editor/Elements/Table/TableSelector.js +6 -10
- package/dist/Editor/Elements/Table/TableTool.js +4 -8
- package/dist/Editor/Elements/Title/title.js +8 -9
- package/dist/Editor/Elements/TopBanner/TopBannerButton.js +1 -4
- package/dist/Editor/Elements/Variables/VariableButton.js +1 -10
- package/dist/Editor/MiniEditor.js +3 -10
- package/dist/Editor/Styles/EditorStyles.js +5 -5
- package/dist/Editor/Toolbar/Basic/index.js +1 -2
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +2 -6
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +3 -27
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +3 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +4 -8
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +13 -10
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +5 -17
- package/dist/Editor/Toolbar/PopupTool/AddTemplates.js +5 -10
- package/dist/Editor/Toolbar/PopupTool/ButtonTemplatesCard.js +4 -10
- package/dist/Editor/Toolbar/PopupTool/FullViewCard.js +4 -10
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/MiniColorPicker.js +3 -9
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectAlignment.js +35 -42
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +13 -6
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectList.js +51 -58
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +22 -29
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +87 -226
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +10 -20
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +5 -10
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +11 -71
- package/dist/Editor/Toolbar/PopupTool/TemplateCard.js +5 -11
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +42 -122
- package/dist/Editor/Toolbar/PopupTool/index.js +2 -18
- package/dist/Editor/Toolbar/Toolbar.js +10 -20
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/common/ColorPickerButton.js +14 -39
- package/dist/Editor/common/CustomDialog/index.js +10 -8
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +0 -3
- package/dist/Editor/common/Icon.js +1 -31
- package/dist/Editor/common/ImageSelector/ImageSelector.js +8 -10
- package/dist/Editor/common/ImageSelector/Options/AddLink.js +4 -6
- package/dist/Editor/common/ImageSelector/Styles.js +9 -3
- package/dist/Editor/common/LinkSettings/NavComponents.js +10 -14
- package/dist/Editor/common/LinkSettings/index.js +14 -20
- package/dist/Editor/common/LinkSettings/navOptions.js +1 -1
- package/dist/Editor/common/MUIIcon/index.js +3 -0
- package/dist/Editor/common/MentionsPopup/index.js +2 -6
- package/dist/Editor/common/RnD/ContextMenu/CMenus.js +22 -46
- package/dist/Editor/common/RnD/ContextMenu/index.js +2 -3
- package/dist/Editor/common/RnD/ElementOptions/index.js +2 -7
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/SaveAsTemplate.js +3 -8
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +3 -7
- package/dist/Editor/common/RnD/ElementSettings/Settings/AppHeaderSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/BoxSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/ButtonSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/CodeSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +4 -7
- package/dist/Editor/common/RnD/ElementSettings/Settings/ImageSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TableSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TextSettings.js +2 -6
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +2 -3
- package/dist/Editor/common/RnD/OptionsPopup/index.js +3 -4
- package/dist/Editor/common/RnD/ShadowElement.js +1 -2
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +4 -11
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +3 -6
- package/dist/Editor/common/RnD/Utils/gridDropItem.js +8 -55
- package/dist/Editor/common/RnD/Utils/index.js +0 -3
- package/dist/Editor/common/RnD/VirtualElement/index.js +103 -187
- package/dist/Editor/common/RnD/VirtualElement/styles.js +7 -155
- package/dist/Editor/common/RnD/VirtualElement/updateAutoProps.js +3 -5
- package/dist/Editor/common/RnD/index.js +13 -69
- package/dist/Editor/common/Section/index.js +4 -7
- package/dist/Editor/common/Shorthands/elements.js +3 -74
- package/dist/Editor/common/StyleBuilder/appHeaderStyle.js +4 -4
- package/dist/Editor/common/StyleBuilder/boxStyle.js +2 -2
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -6
- package/dist/Editor/common/StyleBuilder/dividerStyles.js +2 -2
- package/dist/Editor/common/StyleBuilder/embedVideoStyle.js +6 -6
- package/dist/Editor/common/StyleBuilder/fieldStyle.js +2 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/alignment.js +9 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +3 -11
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +5 -19
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +10 -22
- package/dist/Editor/common/StyleBuilder/fieldTypes/buttonLink.js +3 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +13 -27
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +14 -43
- package/dist/Editor/common/StyleBuilder/fieldTypes/elementSize.js +6 -10
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +6 -19
- package/dist/Editor/common/StyleBuilder/fieldTypes/gridSize.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +2 -5
- package/dist/Editor/common/StyleBuilder/fieldTypes/menusArray.js +6 -9
- package/dist/Editor/common/StyleBuilder/fieldTypes/metaDataMapping.js +2 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/saveAsTemplate.js +11 -12
- package/dist/Editor/common/StyleBuilder/fieldTypes/selectBox.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/text.js +4 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/textAlign.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +12 -21
- package/dist/Editor/common/StyleBuilder/formStyle.js +7 -7
- package/dist/Editor/common/StyleBuilder/gridItemStyle.js +6 -6
- package/dist/Editor/common/StyleBuilder/gridStyle.js +5 -5
- package/dist/Editor/common/StyleBuilder/index.js +5 -8
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +7 -5
- package/dist/Editor/common/SwipeableDrawer/index.js +1 -1
- package/dist/Editor/common/Uploader.js +5 -16
- package/dist/Editor/commonStyle.js +57 -68
- package/dist/Editor/helper/index.js +3 -27
- package/dist/Editor/helper/theme.js +2 -202
- package/dist/Editor/hooks/useMouseMove.js +3 -9
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +9 -11
- package/dist/Editor/plugins/withLayout.js +2 -3
- package/dist/Editor/plugins/withLinks.js +0 -10
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +50 -178
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/freegrid.js +3 -3
- package/dist/Editor/utils/helper.js +21 -92
- package/package.json +4 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -444
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -436
- package/dist/Editor/assets/svg/ClearAllRounded.js +0 -31
- package/dist/Editor/assets/svg/ResetIconNew.js +0 -23
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -291
- package/dist/Editor/common/CustomColorPicker/index.js +0 -131
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- package/dist/Editor/common/CustomDialog2/index.js +0 -94
- package/dist/Editor/common/CustomDialog2/style.js +0 -67
- package/dist/Editor/common/CustomSelect.js +0 -43
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +0 -17
- package/dist/Editor/common/RnD/VirtualElement/BoxHeaderAutoAlignment.js +0 -43
- package/dist/Editor/common/RnD/VirtualElement/ForceAutoAlignment.js +0 -44
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +0 -134
- package/dist/Editor/common/RnD/VirtualElement/helper.js +0 -382
- package/dist/Editor/common/SnackBar/index.js +0 -43
- package/dist/Editor/helper/textIndeces.js +0 -58
- package/dist/Editor/hooks/useAutoScroll.js +0 -38
- package/dist/Editor/hooks/useEditorTheme.js +0 -153
- package/dist/Editor/hooks/useThemeValues.js +0 -63
- package/dist/Editor/theme/index.js +0 -149
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -72
- package/dist/Editor/themeSettings/buttons/index.js +0 -290
- package/dist/Editor/themeSettings/buttons/style.js +0 -23
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -310
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -81
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -121
- package/dist/Editor/themeSettings/fonts/index.js +0 -240
- package/dist/Editor/themeSettings/fonts/style.js +0 -61
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -351
- package/dist/Editor/themeSettings/style.js +0 -220
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -355
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -205
- package/dist/Editor/themeSettingsAI/style.js +0 -259
@@ -6,8 +6,7 @@ const PreviewAndSelect = props => {
|
|
6
6
|
const {
|
7
7
|
classes,
|
8
8
|
data,
|
9
|
-
onSelectTemplate
|
10
|
-
translation
|
9
|
+
onSelectTemplate
|
11
10
|
} = props;
|
12
11
|
return /*#__PURE__*/_jsxs(Box, {
|
13
12
|
className: "template-card-action",
|
@@ -16,12 +15,12 @@ const PreviewAndSelect = props => {
|
|
16
15
|
children: [/*#__PURE__*/_jsx(Button, {
|
17
16
|
className: "blueBtn",
|
18
17
|
onClick: onSelectTemplate(data),
|
19
|
-
children:
|
18
|
+
children: "Select"
|
20
19
|
}), /*#__PURE__*/_jsx(Button, {
|
21
20
|
href: data?.previewLink,
|
22
21
|
target: "_blank",
|
23
22
|
className: "outlineBtn",
|
24
|
-
children:
|
23
|
+
children: "Preview"
|
25
24
|
})]
|
26
25
|
});
|
27
26
|
};
|
@@ -30,12 +29,8 @@ const TemplateCard = props => {
|
|
30
29
|
classes,
|
31
30
|
m,
|
32
31
|
onSelectTemplate,
|
33
|
-
fullScreen
|
34
|
-
customProps
|
32
|
+
fullScreen
|
35
33
|
} = props;
|
36
|
-
const {
|
37
|
-
translation
|
38
|
-
} = customProps;
|
39
34
|
return /*#__PURE__*/_jsx(Grid, {
|
40
35
|
item: true,
|
41
36
|
xs: 4,
|
@@ -58,8 +53,7 @@ const TemplateCard = props => {
|
|
58
53
|
}), /*#__PURE__*/_jsx(PreviewAndSelect, {
|
59
54
|
classes: classes,
|
60
55
|
onSelectTemplate: onSelectTemplate,
|
61
|
-
data: m
|
62
|
-
translation: translation
|
56
|
+
data: m
|
63
57
|
})]
|
64
58
|
}), /*#__PURE__*/_jsx(CardContent, {
|
65
59
|
sx: classes.templateCardTitle,
|
@@ -10,13 +10,11 @@ import { AllColors } from "../../Elements/Color Picker/ColorButtons";
|
|
10
10
|
import { fontFamilyMap } from "../../utils/font";
|
11
11
|
import { getBorderColor } from "../../utils/helper";
|
12
12
|
import SelectTypography from "./MiniTextFormat/SelectTypography";
|
13
|
-
import { isTextCustomized, saveToTheme } from "../../helper/theme";
|
14
|
-
import { useEditorTheme } from "../../hooks/useEditorTheme";
|
15
13
|
import SelectSuperSubscript from "./MiniTextFormat/SelectSuperSubscript";
|
16
14
|
import { ColorResetIcon, TextDefaultStyleIcon } from "../../common/iconListV2";
|
17
15
|
import FontFamilyAutocomplete from "../FormatTools/FontFamilyAutocomplete";
|
18
16
|
import { useEditorContext } from "../../hooks/useMouseMove";
|
19
|
-
import LineSpacing from "../../common/StyleBuilder/fieldTypes/lineSpacing";
|
17
|
+
// import LineSpacing from "../../common/StyleBuilder/fieldTypes/lineSpacing";
|
20
18
|
import { getPageSettings } from "../../utils/pageSettings";
|
21
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
22
20
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -35,21 +33,18 @@ const TextFormat = props => {
|
|
35
33
|
const [anchorEl, setAnchorEl] = useState(null);
|
36
34
|
const [type, setType] = useState(null);
|
37
35
|
const open = Boolean(anchorEl);
|
38
|
-
const {
|
39
|
-
translation
|
40
|
-
} = customProps;
|
41
36
|
const {
|
42
37
|
element: pageSt
|
43
38
|
} = getPageSettings(editor) || {};
|
44
|
-
const pageSettingLine = pageSt?.pageProps?.lineHeight;
|
39
|
+
// const pageSettingLine = pageSt?.pageProps?.lineHeight;
|
45
40
|
const {
|
46
41
|
fontFamilies,
|
47
|
-
theme
|
42
|
+
theme
|
48
43
|
} = useEditorContext();
|
49
44
|
const {
|
50
45
|
activeBreakPoint
|
51
46
|
} = useEditorContext();
|
52
|
-
const breakpoint = activeBreakPoint === "" ? "lg" : activeBreakPoint;
|
47
|
+
// const breakpoint = activeBreakPoint === "" ? "lg" : activeBreakPoint;
|
53
48
|
const fontWeight = allTools.find(f => f.format === "fontWeight");
|
54
49
|
const fontStyle = allTools.filter(f => f.type === "mark" && f.format !== "strikethrough" && f.format !== "superscript" && f.format !== "subscript");
|
55
50
|
const fontAlign = allTools.filter(f => f.format?.indexOf("align") >= 0);
|
@@ -66,13 +61,12 @@ const TextFormat = props => {
|
|
66
61
|
color: "",
|
67
62
|
bgColor: ""
|
68
63
|
};
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
lineSpacingValue = lineSpacingValue?.[breakpoint] !== undefined ? lineSpacingValue : pageSettingLine;
|
64
|
+
|
65
|
+
// let lineSpacingValue = activeMark(editor, "lineHeight");
|
66
|
+
// lineSpacingValue =
|
67
|
+
// lineSpacingValue?.[breakpoint] !== undefined
|
68
|
+
// ? lineSpacingValue
|
69
|
+
// : pageSettingLine;
|
76
70
|
const handleColorPicker = type => e => {
|
77
71
|
setType(type);
|
78
72
|
setAnchorEl(e.currentTarget);
|
@@ -113,13 +107,11 @@ const TextFormat = props => {
|
|
113
107
|
value
|
114
108
|
});
|
115
109
|
};
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
});
|
122
|
-
};
|
110
|
+
|
111
|
+
// const handleLineSpacing = (data) => {
|
112
|
+
// const [[format, value]] = Object.entries(data);
|
113
|
+
// addMarkData(editor, { format, value });
|
114
|
+
// };
|
123
115
|
return /*#__PURE__*/_jsxs(Grid, {
|
124
116
|
container: true,
|
125
117
|
sx: classes.textFormatWrapper,
|
@@ -137,52 +129,7 @@ const TextFormat = props => {
|
|
137
129
|
variant: "body1",
|
138
130
|
color: "primary",
|
139
131
|
sx: classes.typoLabel,
|
140
|
-
children: "
|
141
|
-
})
|
142
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
143
|
-
item: true,
|
144
|
-
children: theme?.id ? /*#__PURE__*/_jsx(Button, {
|
145
|
-
sx: classes.defaultBtn,
|
146
|
-
onClick: () => {
|
147
|
-
const {
|
148
|
-
field,
|
149
|
-
theme
|
150
|
-
} = saveToTheme(editor) || {};
|
151
|
-
updateTheme(theme, {
|
152
|
-
action: "ELEMENT_PROPS_CHANGE",
|
153
|
-
fieldName: field
|
154
|
-
});
|
155
|
-
},
|
156
|
-
disabled: !customized,
|
157
|
-
children: "Save to theme"
|
158
|
-
}) : null
|
159
|
-
})]
|
160
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
161
|
-
item: true,
|
162
|
-
xs: 12,
|
163
|
-
sx: classes.textFormatField,
|
164
|
-
children: /*#__PURE__*/_jsx(SelectTypography, {
|
165
|
-
editor: editor,
|
166
|
-
classes: classes,
|
167
|
-
closeMainPopup: closeMainPopup,
|
168
|
-
type: "fullWidth",
|
169
|
-
customProps: customProps
|
170
|
-
})
|
171
|
-
})]
|
172
|
-
}), /*#__PURE__*/_jsxs(Grid, {
|
173
|
-
item: true,
|
174
|
-
xs: 12,
|
175
|
-
children: [/*#__PURE__*/_jsxs(Grid, {
|
176
|
-
container: true,
|
177
|
-
justifyContent: "space-between",
|
178
|
-
alignItems: "center",
|
179
|
-
children: [/*#__PURE__*/_jsx(Grid, {
|
180
|
-
item: true,
|
181
|
-
children: /*#__PURE__*/_jsx(Typography, {
|
182
|
-
variant: "body1",
|
183
|
-
color: "primary",
|
184
|
-
sx: classes.typoLabel,
|
185
|
-
children: translation("fontFamily")
|
132
|
+
children: "Font Family"
|
186
133
|
})
|
187
134
|
}), /*#__PURE__*/_jsx(Grid, {
|
188
135
|
item: true,
|
@@ -194,7 +141,7 @@ const TextFormat = props => {
|
|
194
141
|
val: Object.values(fontFamilyMap)[0]
|
195
142
|
}),
|
196
143
|
className: "npr-0",
|
197
|
-
children:
|
144
|
+
children: "Default Text"
|
198
145
|
})
|
199
146
|
})]
|
200
147
|
}), /*#__PURE__*/_jsx(Grid, {
|
@@ -219,7 +166,7 @@ const TextFormat = props => {
|
|
219
166
|
variant: "body1",
|
220
167
|
color: "primary",
|
221
168
|
sx: classes.typoLabel3,
|
222
|
-
children:
|
169
|
+
children: "Font Weight"
|
223
170
|
}), /*#__PURE__*/_jsx(Grid, {
|
224
171
|
item: true,
|
225
172
|
xs: 12,
|
@@ -240,7 +187,7 @@ const TextFormat = props => {
|
|
240
187
|
variant: "body1",
|
241
188
|
color: "primary",
|
242
189
|
sx: classes.typoLabel3,
|
243
|
-
children:
|
190
|
+
children: "Font Size"
|
244
191
|
}), /*#__PURE__*/_jsx(Grid, {
|
245
192
|
item: true,
|
246
193
|
xs: 12,
|
@@ -273,7 +220,7 @@ const TextFormat = props => {
|
|
273
220
|
variant: "body1",
|
274
221
|
color: "primary",
|
275
222
|
sx: classes.typoLabel,
|
276
|
-
children:
|
223
|
+
children: "Text Color"
|
277
224
|
})
|
278
225
|
}), /*#__PURE__*/_jsx(Grid, {
|
279
226
|
item: true,
|
@@ -283,7 +230,7 @@ const TextFormat = props => {
|
|
283
230
|
onClick: handleDefault({
|
284
231
|
format: "color"
|
285
232
|
}),
|
286
|
-
children:
|
233
|
+
children: "Default Color"
|
287
234
|
})
|
288
235
|
})]
|
289
236
|
}), /*#__PURE__*/_jsx(Grid, {
|
@@ -294,10 +241,9 @@ const TextFormat = props => {
|
|
294
241
|
editor: editor,
|
295
242
|
showHex: false,
|
296
243
|
rounded: true,
|
297
|
-
title:
|
244
|
+
title: "Text Color",
|
298
245
|
id: "11_cc",
|
299
|
-
classes: classes
|
300
|
-
type: "textColor"
|
246
|
+
classes: classes
|
301
247
|
}, "11_cc")
|
302
248
|
})]
|
303
249
|
}), /*#__PURE__*/_jsxs(Grid, {
|
@@ -314,7 +260,7 @@ const TextFormat = props => {
|
|
314
260
|
variant: "body1",
|
315
261
|
color: "primary",
|
316
262
|
sx: classes.typoLabel,
|
317
|
-
children:
|
263
|
+
children: "Background Color"
|
318
264
|
})
|
319
265
|
}), /*#__PURE__*/_jsx(Grid, {
|
320
266
|
item: true,
|
@@ -323,12 +269,12 @@ const TextFormat = props => {
|
|
323
269
|
children: /*#__PURE__*/_jsx(Button, {
|
324
270
|
sx: classes.defaultBtn2,
|
325
271
|
startIcon: /*#__PURE__*/_jsx(ColorResetIcon, {
|
326
|
-
stroke:
|
272
|
+
stroke: theme?.palette?.type === "dark" ? "#505359" : "#A2B0B9"
|
327
273
|
}),
|
328
274
|
onClick: handleDefault({
|
329
275
|
format: "bgColor"
|
330
276
|
}),
|
331
|
-
children:
|
277
|
+
children: "Default Color"
|
332
278
|
})
|
333
279
|
})
|
334
280
|
})]
|
@@ -342,7 +288,7 @@ const TextFormat = props => {
|
|
342
288
|
editor: editor,
|
343
289
|
showHex: false,
|
344
290
|
rounded: true,
|
345
|
-
title:
|
291
|
+
title: "Text Background Color",
|
346
292
|
classes: classes,
|
347
293
|
id: "12_cc"
|
348
294
|
}, "12_cc")
|
@@ -360,7 +306,7 @@ const TextFormat = props => {
|
|
360
306
|
variant: "body1",
|
361
307
|
color: "primary",
|
362
308
|
sx: classes.typoLabel2,
|
363
|
-
children:
|
309
|
+
children: "Alignment"
|
364
310
|
}), /*#__PURE__*/_jsx(Grid, {
|
365
311
|
item: true,
|
366
312
|
xs: 12,
|
@@ -368,8 +314,7 @@ const TextFormat = props => {
|
|
368
314
|
children: fontAlign?.map((m, i) => {
|
369
315
|
return /*#__PURE__*/_jsx(BlockButton, {
|
370
316
|
editor: editor,
|
371
|
-
...m
|
372
|
-
customProps: customProps
|
317
|
+
...m
|
373
318
|
}, `pptool_block_${i}_${m.id}`);
|
374
319
|
})
|
375
320
|
})]
|
@@ -381,7 +326,7 @@ const TextFormat = props => {
|
|
381
326
|
variant: "body1",
|
382
327
|
color: "primary",
|
383
328
|
sx: classes.typoLabel2,
|
384
|
-
children:
|
329
|
+
children: "Lists"
|
385
330
|
}), /*#__PURE__*/_jsx(Grid, {
|
386
331
|
item: true,
|
387
332
|
xs: 12,
|
@@ -390,8 +335,7 @@ const TextFormat = props => {
|
|
390
335
|
const Comp = ButtonComp[m?.component] || BlockButton;
|
391
336
|
return /*#__PURE__*/_jsx(Comp, {
|
392
337
|
editor: editor,
|
393
|
-
...m
|
394
|
-
customProps: customProps
|
338
|
+
...m
|
395
339
|
}, `pptool_block_${i}_${m.id}`);
|
396
340
|
})
|
397
341
|
})]
|
@@ -407,17 +351,20 @@ const TextFormat = props => {
|
|
407
351
|
variant: "body1",
|
408
352
|
color: "primary",
|
409
353
|
sx: classes.typoLabel,
|
410
|
-
children:
|
354
|
+
children: "Typography"
|
411
355
|
}), /*#__PURE__*/_jsxs(Grid, {
|
412
356
|
item: true,
|
413
357
|
xs: 12,
|
414
358
|
className: "typo-icons",
|
415
359
|
sx: classes.evenSpace,
|
416
|
-
children: [
|
360
|
+
children: [/*#__PURE__*/_jsx(SelectTypography, {
|
361
|
+
classes: classes,
|
362
|
+
editor: editor,
|
363
|
+
closeMainPopup: closeMainPopup || onClose
|
364
|
+
}), fontStyle?.map((m, i) => {
|
417
365
|
return /*#__PURE__*/_jsx(MarkButton, {
|
418
366
|
editor: editor,
|
419
|
-
...m
|
420
|
-
customProps: customProps
|
367
|
+
...m
|
421
368
|
}, `pptool_mark_${i}_${m.id}`);
|
422
369
|
}), /*#__PURE__*/_jsx(LinkButton, {
|
423
370
|
active: isBlockActive(editor, link.format),
|
@@ -426,8 +373,7 @@ const TextFormat = props => {
|
|
426
373
|
}, link.id), /*#__PURE__*/_jsx(SelectSuperSubscript, {
|
427
374
|
classes: classes,
|
428
375
|
editor: editor,
|
429
|
-
closeMainPopup: closeMainPopup || onClose
|
430
|
-
customProps: customProps
|
376
|
+
closeMainPopup: closeMainPopup || onClose
|
431
377
|
})]
|
432
378
|
})]
|
433
379
|
}), /*#__PURE__*/_jsx(Grid, {
|
@@ -435,32 +381,6 @@ const TextFormat = props => {
|
|
435
381
|
xs: 12,
|
436
382
|
sx: classes.dividerGrid,
|
437
383
|
children: /*#__PURE__*/_jsx(Divider, {})
|
438
|
-
}), /*#__PURE__*/_jsxs(Grid, {
|
439
|
-
item: true,
|
440
|
-
xs: 12,
|
441
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
442
|
-
variant: "body1",
|
443
|
-
color: "primary",
|
444
|
-
sx: classes.typoLabel,
|
445
|
-
children: "Line Spacing"
|
446
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
447
|
-
item: true,
|
448
|
-
xs: 12,
|
449
|
-
className: "typo-icons",
|
450
|
-
sx: classes.evenSpace,
|
451
|
-
children: /*#__PURE__*/_jsx(LineSpacing, {
|
452
|
-
value: lineSpacingValue,
|
453
|
-
onChange: handleLineSpacing,
|
454
|
-
data: {
|
455
|
-
key: "lineHeight"
|
456
|
-
}
|
457
|
-
})
|
458
|
-
})]
|
459
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
460
|
-
item: true,
|
461
|
-
xs: 12,
|
462
|
-
sx: classes.dividerGrid,
|
463
|
-
children: /*#__PURE__*/_jsx(Divider, {})
|
464
384
|
}), /*#__PURE__*/_jsx(Grid, {
|
465
385
|
item: true,
|
466
386
|
xs: 12,
|
@@ -472,7 +392,7 @@ const TextFormat = props => {
|
|
472
392
|
variant: "body1",
|
473
393
|
color: "primary",
|
474
394
|
sx: classes.typoLabel3,
|
475
|
-
children:
|
395
|
+
children: "Decorations"
|
476
396
|
})
|
477
397
|
}), /*#__PURE__*/_jsxs(Grid, {
|
478
398
|
item: true,
|
@@ -492,7 +412,7 @@ const TextFormat = props => {
|
|
492
412
|
style: {
|
493
413
|
background: bqBgColor
|
494
414
|
},
|
495
|
-
children:
|
415
|
+
children: "Colorbox"
|
496
416
|
}), /*#__PURE__*/_jsx("div", {
|
497
417
|
className: "vl"
|
498
418
|
}), /*#__PURE__*/_jsx(Button, {
|
@@ -513,7 +433,7 @@ const TextFormat = props => {
|
|
513
433
|
...getBorderColor(bqColor || "transparent", 3),
|
514
434
|
borderWidth: bqColor ? "0px 0px 0px 3px" : "0px"
|
515
435
|
},
|
516
|
-
children:
|
436
|
+
children: "Quote"
|
517
437
|
})
|
518
438
|
}), /*#__PURE__*/_jsx("div", {
|
519
439
|
className: "vl"
|
@@ -11,9 +11,6 @@ import useEditorScroll from "../../hooks/useEditorScroll";
|
|
11
11
|
import { isCarouselSelected } from "../../helper";
|
12
12
|
import { hideSlateSelection } from "../../utils/helper";
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
14
|
-
const isSlateDOM = event => {
|
15
|
-
return event.target.getAttribute("data-slate-string") === "true";
|
16
|
-
};
|
17
14
|
const PopupTool = props => {
|
18
15
|
const {
|
19
16
|
theme,
|
@@ -36,7 +33,6 @@ const PopupTool = props => {
|
|
36
33
|
const [event] = useDrag(anchorEl);
|
37
34
|
const id = open ? "popup-edit-tool" : "";
|
38
35
|
const [size] = useWindowResize();
|
39
|
-
const isMobile = window.matchMedia("(max-width: 899px)")?.matches || false;
|
40
36
|
const updateAnchorEl = isScroll => {
|
41
37
|
try {
|
42
38
|
const isHavingSelection = selection && !Range.isCollapsed(selection);
|
@@ -95,9 +91,9 @@ const PopupTool = props => {
|
|
95
91
|
const isFreeGridEnabled = enable === 1 && isFreeGridElement;
|
96
92
|
if (!selection || Range.isCollapsed(selection) || Editor.string(editor, selection) === "" || isFreeGridEnabled) {
|
97
93
|
setAnchorEl(null);
|
98
|
-
hideSlateSelection(); // removes slate selection background, when there is no selection
|
99
94
|
} else {
|
100
95
|
updateAnchorEl();
|
96
|
+
hideSlateSelection(); // removes slate selection background, when there is no selection
|
101
97
|
}
|
102
98
|
}, [selection, event, selectedElement?.enable]);
|
103
99
|
const handleClose = () => {
|
@@ -108,20 +104,8 @@ const PopupTool = props => {
|
|
108
104
|
return open && !openAI ? /*#__PURE__*/_jsx(ClickAwayListener, {
|
109
105
|
onClickAway: e => {
|
110
106
|
// close the mini toolbar, if user clicks outside the editor (in Flozy app.)
|
111
|
-
|
112
|
-
if (isSlateDOM(e)) {
|
113
|
-
return;
|
114
|
-
}
|
115
|
-
const wrapper = document.getElementById("slate-wrapper-scroll-container");
|
116
|
-
const isInsideWrapper = wrapper && wrapper.contains(e.target);
|
117
|
-
if (isInsideWrapper) {
|
118
|
-
return;
|
119
|
-
}
|
120
|
-
if (e.target === document.body) {
|
107
|
+
if (e.target !== document.body) {
|
121
108
|
// e.target returns body, if the user clicks material ui select popup inside the tool bar, on that time, we don't need to close
|
122
|
-
return;
|
123
|
-
}
|
124
|
-
if (!isMobile) {
|
125
109
|
handleClose();
|
126
110
|
}
|
127
111
|
},
|
@@ -50,8 +50,7 @@ export const RenderToolbarIcon = props => {
|
|
50
50
|
case "block":
|
51
51
|
return /*#__PURE__*/_jsx(BlockButton, {
|
52
52
|
...element,
|
53
|
-
editor: editor
|
54
|
-
customProps: customProps
|
53
|
+
editor: editor
|
55
54
|
}, element.id);
|
56
55
|
case "mark":
|
57
56
|
return /*#__PURE__*/_jsx(MarkButton, {
|
@@ -106,8 +105,7 @@ export const RenderToolbarIcon = props => {
|
|
106
105
|
editor: editor,
|
107
106
|
customProps: customProps,
|
108
107
|
icoBtnType: icoBtnType,
|
109
|
-
lbT: element.lbT
|
110
|
-
onClose: () => {}
|
108
|
+
lbT: element.lbT
|
111
109
|
}, element.id);
|
112
110
|
case "color-picker":
|
113
111
|
return /*#__PURE__*/_jsx(ColorPicker, {
|
@@ -119,14 +117,12 @@ export const RenderToolbarIcon = props => {
|
|
119
117
|
case "table":
|
120
118
|
return /*#__PURE__*/_jsx(TableSelector, {
|
121
119
|
editor: editor,
|
122
|
-
icoBtnType: icoBtnType
|
123
|
-
customProps: customProps
|
120
|
+
icoBtnType: icoBtnType
|
124
121
|
}, element.id);
|
125
122
|
case "dataView":
|
126
123
|
return /*#__PURE__*/_jsx(DataViewButton, {
|
127
124
|
editor: editor,
|
128
|
-
icoBtnType: icoBtnType
|
129
|
-
customProps: customProps
|
125
|
+
icoBtnType: icoBtnType
|
130
126
|
}, element.id);
|
131
127
|
case "id":
|
132
128
|
return /*#__PURE__*/_jsx(Id, {
|
@@ -155,25 +151,21 @@ export const RenderToolbarIcon = props => {
|
|
155
151
|
case "newLine":
|
156
152
|
return /*#__PURE__*/_jsx(NewLineButton, {
|
157
153
|
editor: editor,
|
158
|
-
icoBtnType: icoBtnType
|
159
|
-
customProps: customProps
|
154
|
+
icoBtnType: icoBtnType
|
160
155
|
}, element.id);
|
161
156
|
case "accordion":
|
162
157
|
return /*#__PURE__*/_jsx(AccordionButton, {
|
163
|
-
editor: editor
|
164
|
-
customProps: customProps
|
158
|
+
editor: editor
|
165
159
|
}, element.id);
|
166
160
|
case "signature":
|
167
161
|
return /*#__PURE__*/_jsx(SignatureButton, {
|
168
162
|
editor: editor,
|
169
|
-
icoBtnType: icoBtnType
|
170
|
-
customProps: customProps
|
163
|
+
icoBtnType: icoBtnType
|
171
164
|
}, element.id);
|
172
165
|
case "button":
|
173
166
|
return /*#__PURE__*/_jsx(ButtonToolIcon, {
|
174
167
|
editor: editor,
|
175
|
-
icoBtnType: icoBtnType
|
176
|
-
customProps: customProps
|
168
|
+
icoBtnType: icoBtnType
|
177
169
|
}, element.id);
|
178
170
|
case "page-settings":
|
179
171
|
return /*#__PURE__*/_jsx(PageSettingsButton, {
|
@@ -184,8 +176,7 @@ export const RenderToolbarIcon = props => {
|
|
184
176
|
case "carousel":
|
185
177
|
return /*#__PURE__*/_jsx(CarouselButton, {
|
186
178
|
editor: editor,
|
187
|
-
icoBtnType: icoBtnType
|
188
|
-
customProps: customProps
|
179
|
+
icoBtnType: icoBtnType
|
189
180
|
}, element.id);
|
190
181
|
case "chip-text":
|
191
182
|
return /*#__PURE__*/_jsx(ChipTextButton, {
|
@@ -293,8 +284,7 @@ const Toolbar = props => {
|
|
293
284
|
})
|
294
285
|
}, index)), /*#__PURE__*/_jsx(HtmlContextMenu, {
|
295
286
|
editor: editor,
|
296
|
-
handleCodeToText: handleCodeToText
|
297
|
-
customProps: customProps
|
287
|
+
handleCodeToText: handleCodeToText
|
298
288
|
})]
|
299
289
|
});
|
300
290
|
};
|
@@ -28,20 +28,16 @@ export const toolbarGroups = [[{
|
|
28
28
|
type: "dropdown",
|
29
29
|
options: [{
|
30
30
|
text: "Normal",
|
31
|
-
value: "normal"
|
32
|
-
numVal: "400"
|
31
|
+
value: "normal"
|
33
32
|
}, {
|
34
33
|
text: "Bold",
|
35
|
-
value: "bold"
|
36
|
-
numVal: "700"
|
34
|
+
value: "bold"
|
37
35
|
}, {
|
38
36
|
text: "Bolder",
|
39
|
-
value: "bolder"
|
40
|
-
numVal: "700"
|
37
|
+
value: "bolder"
|
41
38
|
}, {
|
42
39
|
text: "Lighter",
|
43
|
-
value: "lighter"
|
44
|
-
numVal: "100"
|
40
|
+
value: "lighter"
|
45
41
|
}],
|
46
42
|
icon: FormatBoldIcon,
|
47
43
|
width: "100px"
|
@@ -50,8 +46,7 @@ export const toolbarGroups = [[{
|
|
50
46
|
format: "bold",
|
51
47
|
type: "mark",
|
52
48
|
title: "Bold",
|
53
|
-
basic: true
|
54
|
-
themeEnabled: true
|
49
|
+
basic: true
|
55
50
|
}, {
|
56
51
|
id: 5,
|
57
52
|
format: "underline",
|
@@ -62,8 +57,7 @@ export const toolbarGroups = [[{
|
|
62
57
|
format: "italic",
|
63
58
|
type: "mark",
|
64
59
|
title: "Italic",
|
65
|
-
basic: true
|
66
|
-
themeEnabled: true
|
60
|
+
basic: true
|
67
61
|
}, {
|
68
62
|
id: 6,
|
69
63
|
format: "strikethrough",
|
@@ -107,42 +101,6 @@ export const toolbarGroups = [[{
|
|
107
101
|
type: "block",
|
108
102
|
title: "H3",
|
109
103
|
group: "typography"
|
110
|
-
}, {
|
111
|
-
id: 39,
|
112
|
-
format: "headingFour",
|
113
|
-
type: "block",
|
114
|
-
title: "H4",
|
115
|
-
group: "typography"
|
116
|
-
}, {
|
117
|
-
id: 40,
|
118
|
-
format: "headingFive",
|
119
|
-
type: "block",
|
120
|
-
title: "H5",
|
121
|
-
group: "typography"
|
122
|
-
}, {
|
123
|
-
id: 41,
|
124
|
-
format: "headingSix",
|
125
|
-
type: "block",
|
126
|
-
title: "H6",
|
127
|
-
group: "typography"
|
128
|
-
}, {
|
129
|
-
id: 42,
|
130
|
-
format: "paragraphOne",
|
131
|
-
type: "block",
|
132
|
-
title: "Paragraph 1",
|
133
|
-
group: "typography"
|
134
|
-
}, {
|
135
|
-
id: 43,
|
136
|
-
format: "paragraphTwo",
|
137
|
-
type: "block",
|
138
|
-
title: "Paragraph 2",
|
139
|
-
group: "typography"
|
140
|
-
}, {
|
141
|
-
id: 44,
|
142
|
-
format: "paragraphThree",
|
143
|
-
type: "block",
|
144
|
-
title: "Paragraph 3",
|
145
|
-
group: "typography"
|
146
104
|
}, {
|
147
105
|
id: 14,
|
148
106
|
format: "doublequote",
|