@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.
@@ -975,7 +975,7 @@ function Field({
975
975
  case 'richeditor':
976
976
  return (
977
977
  <Editor
978
- apiKey="51mqcxkrrco6unmr6h8exc5mkhtjwi6fpyedy3r493px8cbq"
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.settings.api
844
- .tinymce
843
+ userProfile?.settings
844
+ ?.api?.tinymce
845
845
  }
846
846
  onEditorChange={(
847
847
  value,
package/package.json CHANGED
@@ -50,7 +50,7 @@
50
50
  "react-dom": "^17.0.1"
51
51
  },
52
52
  "name": "@visns-studio/visns-components",
53
- "version": "3.6.2",
53
+ "version": "3.6.3",
54
54
  "description": "Various packages to assist in the development of our Custom Applications.",
55
55
  "main": "index.js",
56
56
  "scripts": {