@bigbinary/neeto-editor 1.18.3 → 1.19.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.
Files changed (3) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
  3. package/types.d.ts +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-editor",
3
- "version": "1.18.3",
3
+ "version": "1.19.1",
4
4
  "main": "./index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./types.d.ts",
package/types.d.ts CHANGED
@@ -52,23 +52,6 @@ type EditorFocus = (props: {
52
52
  transaction: Transaction;
53
53
  }) => void;
54
54
 
55
- interface Config {
56
- code?: Partial<CodeOptions>;
57
- underline?: Partial<UnderlineOptions>;
58
- highlight?: Partial<HighlightOptions>;
59
- codeBlock?: Partial<CodeBlockLowlightOptions>;
60
- figCaption?: Partial<any>;
61
- embeds?: Partial<any>;
62
- link?: Partial<any>;
63
- emojiSuggestion?: Partial<any>;
64
- emojiPicker?: Partial<any>;
65
- customCommands?: Partial<any>;
66
- characterCount?: Partial<CharacterCountOptions>;
67
- focus?: Partial<FocusOptions>;
68
- starterKit?: Partial<StarterKitOptions>;
69
- placeholder?: Partial<PlaceholderOptions>;
70
- }
71
-
72
55
  interface tooltip {
73
56
  label: string;
74
57
  keys: string[];
@@ -134,7 +117,6 @@ interface EditorProps {
134
117
  isCharacterCountActive?: boolean;
135
118
  keyboardShortcuts?: KeyboardShortcuts;
136
119
  error?: string;
137
- config?: Config;
138
120
  attachments?: Array<attachment>;
139
121
  onChangeAttachments?: (attachments: attachment[]) => void;
140
122
  [otherProps: string]: any;