You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,7 @@ while the documentation is not complete.
102
102
-**minEditorHeight?: number**: The minimum height of the editor.
103
103
-**maxEditorHeight?: number**: The max height of the editor (after that, it will scroll).
104
104
-**minPreviewHeight?: number**: The minimum height of the preview.
105
+
-**heightUnits?: string**: The height units, defaults to `px`.
105
106
-**loadSuggestions?: (text: string, triggeredBy: string) => Promise<Suggestion[]>**: Function to load mention suggestions based on the
106
107
given `text` and `triggeredBy` (character that triggered the suggestions). The result should be an array of `{preview: React.ReactNode, value: string}`.
107
108
The `preview` is what is going to be displayed in the suggestions box. The `value` is what is going to be inserted in the `textarea` on click or enter.
0 commit comments