@flozy/editor 4.0.0 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/ChatEditor.js +9 -14
- package/dist/Editor/CommonEditor.js +11 -7
- package/dist/Editor/Editor.css +36 -3
- package/dist/Editor/Elements/AI/AIInput.js +16 -12
- package/dist/Editor/Elements/AI/PopoverAIInput.js +7 -8
- package/dist/Editor/Elements/AI/Styles.js +0 -1
- package/dist/Editor/Elements/Accordion/AccordionSummary.js +15 -4
- package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -1
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +3 -1
- package/dist/Editor/Elements/Color Picker/Styles.js +1 -0
- package/dist/Editor/Elements/Link/LinkPopup.js +66 -14
- package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -1
- package/dist/Editor/Elements/Signature/Signature.css +13 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +2 -1
- package/dist/Editor/Elements/Signature/SignaturePopup.js +172 -32
- package/dist/Editor/Elements/SimpleText/index.js +11 -1
- package/dist/Editor/Elements/SimpleText/style.js +1 -1
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +1 -1
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +2 -2
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +32 -3
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/CustomSelectTool.js +3 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +59 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +2 -1
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +91 -19
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +56 -39
- package/dist/Editor/Toolbar/toolbarGroups.js +5 -5
- package/dist/Editor/common/EditorIcons.js +7 -7
- package/dist/Editor/common/Icon.js +25 -26
- package/dist/Editor/common/ImageList.js +16 -3
- package/dist/Editor/common/ImageSelector/ImageSelector.js +30 -9
- package/dist/Editor/common/ImageSelector/Styles.js +2 -1
- package/dist/Editor/common/MentionsPopup/Styles.js +1 -1
- package/dist/Editor/common/Shorthands/elements.js +9 -9
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +26 -20
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +18 -16
- package/dist/Editor/common/iconListV2.js +843 -0
- package/dist/Editor/commonStyle.js +6 -0
- package/dist/Editor/helper/theme.js +2 -1
- package/package.json +1 -1
@@ -99,6 +99,12 @@ const useCommonStyle = theme => ({
|
|
99
99
|
}
|
100
100
|
}
|
101
101
|
},
|
102
|
+
popupTitle2: {
|
103
|
+
fontWeight: "600 !important",
|
104
|
+
fontSize: "20px",
|
105
|
+
display: "flex",
|
106
|
+
alignItems: "center"
|
107
|
+
},
|
102
108
|
textOptions: {
|
103
109
|
"& .MuiPopover-root": {
|
104
110
|
backgroundColor: theme?.palette?.editor?.background
|
@@ -283,4 +283,5 @@ export const saveToTheme = editor => {
|
|
283
283
|
}
|
284
284
|
};
|
285
285
|
export const HEADING_THEME_FIELDS = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
286
|
-
export const PARAGRAPH_THEME_FIELDS = ["para1", "para2", "para3"];
|
286
|
+
export const PARAGRAPH_THEME_FIELDS = ["para1", "para2", "para3"];
|
287
|
+
export const getCustomizationValue = value => isNaN(parseInt(value)) ? null : parseInt(value);
|