@visns-studio/visns-components 3.0.4 → 3.0.6

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.
@@ -707,15 +707,11 @@ function Field({
707
707
  return (
708
708
  <Editor
709
709
  apiKey="51mqcxkrrco6unmr6h8exc5mkhtjwi6fpyedy3r493px8cbq"
710
- onChange={(e) => {
711
- onChangeRicheditor(
712
- e,
713
- e.target.getContent(),
714
- settings.id
715
- );
710
+ onEditorChange={(value, e) => {
711
+ onChangeRicheditor(e, value, settings.id);
716
712
  }}
717
713
  onInit={(evt, editor) => (editorRef.current = editor)}
718
- initialValue={inputValue || ''}
714
+ value={inputValue || ''}
719
715
  init={{
720
716
  height: 500,
721
717
  menubar: false,
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "react-dom": "^17.0.1"
47
47
  },
48
48
  "name": "@visns-studio/visns-components",
49
- "version": "3.0.4",
49
+ "version": "3.0.6",
50
50
  "description": "Various packages to assist in the development of our Custom Applications.",
51
51
  "main": "index.js",
52
52
  "scripts": {