Skip to content

Commit

Permalink
Merge pull request #274 from lsurma/patch-1
Browse files Browse the repository at this point in the history
Changes in loadSuggestions function signature
  • Loading branch information
andrerpena authored Sep 2, 2020
2 parents 11a5a66 + 9e91208 commit b04d6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReactMde.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface ReactMdeProps {
readOnly?: boolean;
disablePreview?: boolean;
suggestionTriggerCharacters?: string[];
loadSuggestions?: (text: string) => Promise<Suggestion[]>;
loadSuggestions?: (text: string, triggeredBy: string) => Promise<Suggestion[]>;
childProps?: ChildProps;
paste?: PasteOptions;
l18n?: L18n;
Expand Down

0 comments on commit b04d6dc

Please sign in to comment.