@bigbinary/neeto-editor 1.23.3 → 1.24.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-editor",
3
- "version": "1.23.3",
3
+ "version": "1.24.1",
4
4
  "main": "./index.cjs.js",
5
5
  "module": "./index.js",
6
6
  "types": "./types.d.ts",
package/types.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import {
2
3
  Editor as TiptapEditor,
3
4
  Extension,
@@ -75,7 +76,6 @@ interface MenuProps {
75
76
  isIndependant?: boolean;
76
77
  className?: string;
77
78
  }
78
-
79
79
  interface attachment {
80
80
  filename?: string;
81
81
  signedId?: string;
@@ -91,6 +91,9 @@ interface attachmentsConfig {
91
91
 
92
92
  interface EditorProps {
93
93
  attachmentsConfig?: attachmentsConfig;
94
+ isMenuIndependent?: boolean;
95
+ menuClassName?: string;
96
+ attachmentsClassName?: string;
94
97
  tooltips?: tooltips;
95
98
  initialValue?: string;
96
99
  menuType?: "fixed" | "bubble" | "headless" | "none";
@@ -119,6 +122,7 @@ interface EditorProps {
119
122
  error?: string;
120
123
  attachments?: Array<attachment>;
121
124
  onChangeAttachments?: (attachments: attachment[]) => void;
125
+ children?: ReactNode;
122
126
  [otherProps: string]: any;
123
127
  }
124
128