@livetiles/reach-plugin-types 0.5.0-preview.859 → 0.5.0-preview.860

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 (2) hide show
  1. package/lib/index.d.ts +7 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -10706,9 +10706,9 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/
10706
10706
  export const SuggestionsPopover: import("react").ForwardRefExoticComponent<MentionsWithSuggestionsPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
10707
10707
  }
10708
10708
  declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor" {
10709
- import { Editor } from '@tiptap/react';
10710
- import { Editor as IEditor, FocusPosition } from '@tiptap/core';
10711
10709
  import { Account } from "libs/reach/util/common/src/index";
10710
+ import { FocusPosition, Editor as IEditor } from '@tiptap/core';
10711
+ import { Editor } from '@tiptap/react';
10712
10712
  export const editorCharacterLimit = 1000;
10713
10713
  interface EnhancedRichTextEditorContent {
10714
10714
  formattedContent?: string;
@@ -10729,6 +10729,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
10729
10729
  autofocus?: FocusPosition;
10730
10730
  mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
10731
10731
  className?: string;
10732
+ characterLimit?: number;
10733
+ shortcuts?: string[];
10734
+ onShortcut?: (editor: IEditor, shortcut: string) => void;
10735
+ onTransaction?: (editor: IEditor) => void;
10736
+ useHardBreak?: boolean;
10732
10737
  }
10733
10738
  const _default: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorContentRef>>;
10734
10739
  export default _default;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.859",
7
+ "version": "0.5.0-preview.860",
8
8
  "dependencies": {}
9
9
  }