@visns-studio/visns-components 3.7.2 → 3.7.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/components/cms/Field.jsx
CHANGED
|
@@ -668,7 +668,8 @@ const Field = ({
|
|
|
668
668
|
case 'richeditor':
|
|
669
669
|
htmlContainer = (
|
|
670
670
|
<Editor
|
|
671
|
-
|
|
671
|
+
tinymceScriptSrc="https://d16lktya8ojp5z.cloudfront.net/generic/packages/tinymce_v701/tinymce.min.js"
|
|
672
|
+
licenseKey="gpl"
|
|
672
673
|
onEditorChange={(value, e) => {
|
|
673
674
|
onChangeRicheditor(e, value, settings.id);
|
|
674
675
|
}}
|
package/components/crm/Field.jsx
CHANGED
|
@@ -993,13 +993,8 @@ function Field({
|
|
|
993
993
|
case 'richeditor':
|
|
994
994
|
return (
|
|
995
995
|
<Editor
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
? userProfile.settings.api.tinymce
|
|
999
|
-
: api.tinymce
|
|
1000
|
-
? api.tinymce
|
|
1001
|
-
: ''
|
|
1002
|
-
}
|
|
996
|
+
tinymceScriptSrc="https://d16lktya8ojp5z.cloudfront.net/generic/packages/tinymce_v701/tinymce.min.js"
|
|
997
|
+
licenseKey="gpl"
|
|
1003
998
|
onEditorChange={(value, e) => {
|
|
1004
999
|
onChangeRicheditor(e, value, settings.id);
|
|
1005
1000
|
}}
|
|
@@ -848,14 +848,8 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
|
|
|
848
848
|
<div className="formItem fwItem">
|
|
849
849
|
<label className="fi__label">
|
|
850
850
|
<Editor
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
?.api?.tinymce
|
|
854
|
-
? userProfile
|
|
855
|
-
.settings.api
|
|
856
|
-
.tinymce
|
|
857
|
-
: ''
|
|
858
|
-
}
|
|
851
|
+
tinymceScriptSrc="https://d16lktya8ojp5z.cloudfront.net/generic/packages/tinymce_v701/tinymce.min.js"
|
|
852
|
+
licenseKey="gpl"
|
|
859
853
|
onEditorChange={(
|
|
860
854
|
value,
|
|
861
855
|
e
|
package/package.json
CHANGED