@worktile/theia 14.1.1 → 14.1.2

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.
@@ -92,7 +92,6 @@ export interface TheOptions {
92
92
  placeholder?: string;
93
93
  placeholderDecorate?: (editor: Editor) => SlatePlaceholder[];
94
94
  inlineToolbarVisible?: boolean;
95
- quickInsertVisible?: boolean;
96
95
  scrollContainer?: string;
97
96
  maxHeight?: number;
98
97
  fontSize?: FontSizes;
@@ -9,6 +9,7 @@ import { WithOverride } from './with-override';
9
9
  export declare type ThePluginBaseOption = {
10
10
  allowParentTypes?: (CustomElementKinds | string)[];
11
11
  disabledOperateTypes?: CustomElementKinds[];
12
+ disabled?: boolean;
12
13
  showFullscreen?: boolean;
13
14
  setFullscreen?: (editor: Editor, event: MouseEvent, element: Element) => void;
14
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "14.1.1",
3
+ "version": "14.1.2",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -3,6 +3,7 @@ import { ElementKinds } from '../../constants';
3
3
  import { CustomElementKinds } from '../../custom-types';
4
4
  export interface QuickInsertPluginOptions {
5
5
  hotKey?: string;
6
+ disabledPlus?: boolean;
6
7
  allowHotkeyInTypes?: CustomElementKinds[];
7
8
  }
8
9
  export declare const withQuickInsert: <T extends import("../../interfaces").TheEditor>(editor: T) => T;