fix: inbox create issue comment fixed (#4340)
This commit is contained in:
parent
c4229c9d55
commit
4c78cd7c7e
3 changed files with 9 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ export interface ILiteTextEditor {
|
|||
};
|
||||
tabIndex?: number;
|
||||
placeholder?: string | ((isFocused: boolean, value: string) => string);
|
||||
id?: string;
|
||||
}
|
||||
|
||||
const LiteTextEditor = (props: ILiteTextEditor) => {
|
||||
|
|
@ -48,12 +49,14 @@ const LiteTextEditor = (props: ILiteTextEditor) => {
|
|||
tabIndex,
|
||||
mentionHandler,
|
||||
placeholder = "Add comment...",
|
||||
id = "",
|
||||
} = props;
|
||||
|
||||
const editor = useEditor({
|
||||
onChange,
|
||||
initialValue,
|
||||
value,
|
||||
id,
|
||||
editorClassName,
|
||||
restoreFile: fileHandler.restore,
|
||||
uploadFile: fileHandler.upload,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue