@visns-studio/visns-components 3.6.2 → 3.6.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/crm/Field.jsx
CHANGED
|
@@ -975,7 +975,7 @@ function Field({
|
|
|
975
975
|
case 'richeditor':
|
|
976
976
|
return (
|
|
977
977
|
<Editor
|
|
978
|
-
apiKey=
|
|
978
|
+
apiKey={userProfile?.settings?.api?.tinymce}
|
|
979
979
|
onEditorChange={(value, e) => {
|
|
980
980
|
onChangeRicheditor(e, value, settings.id);
|
|
981
981
|
}}
|
|
@@ -840,8 +840,8 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
|
|
|
840
840
|
<label className="fi__label">
|
|
841
841
|
<Editor
|
|
842
842
|
apiKey={
|
|
843
|
-
userProfile
|
|
844
|
-
|
|
843
|
+
userProfile?.settings
|
|
844
|
+
?.api?.tinymce
|
|
845
845
|
}
|
|
846
846
|
onEditorChange={(
|
|
847
847
|
value,
|
package/package.json
CHANGED