@flozy/editor 3.3.6 → 3.3.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -26,13 +26,13 @@ const Form = props => {
|
|
26
26
|
readOnly,
|
27
27
|
site_id,
|
28
28
|
page_id,
|
29
|
-
page_title,
|
30
29
|
onFormSubmit
|
31
30
|
} = customProps;
|
32
31
|
const {
|
33
32
|
buttonProps,
|
34
33
|
textColor,
|
35
34
|
formName,
|
35
|
+
uid,
|
36
36
|
borderWidth,
|
37
37
|
borderColor,
|
38
38
|
borderStyle,
|
@@ -132,14 +132,14 @@ const Form = props => {
|
|
132
132
|
response?.push({
|
133
133
|
[pair[0]]: pair[1],
|
134
134
|
placeholder: placeholder,
|
135
|
-
|
136
|
-
page_title: page_title
|
135
|
+
form_name: formName
|
137
136
|
});
|
138
137
|
}
|
139
138
|
let params = {
|
140
139
|
page_id: page_id,
|
141
140
|
site_id: site_id,
|
142
141
|
form_id: `${formName}`,
|
142
|
+
uid: `${page_id}_${uid ? uid : formName}`,
|
143
143
|
response: response,
|
144
144
|
form_data: {
|
145
145
|
user_email: user_email,
|
@@ -115,7 +115,7 @@ const ELEMENTS_LIST = [{
|
|
115
115
|
icon: /*#__PURE__*/_jsx(Icon, {
|
116
116
|
icon: "embed"
|
117
117
|
}),
|
118
|
-
onInsert: editor => insertDefaultEmbed(editor, "
|
118
|
+
onInsert: editor => insertDefaultEmbed(editor, "embed", "")
|
119
119
|
}, {
|
120
120
|
name: "Calendly",
|
121
121
|
desc: "",
|