diff --git a/web/components/editor/rich-text-wrapper.tsx b/web/components/editor/rich-text-wrapper.tsx index 8036d202d..32056a927 100644 --- a/web/components/editor/rich-text-wrapper.tsx +++ b/web/components/editor/rich-text-wrapper.tsx @@ -20,7 +20,7 @@ interface RichTextEditorWrapperProps const fileService = new FileService(); -export const RichTextEditorWrapper = React.forwardRef( +export const RichTextEditor = React.forwardRef( ({ workspaceSlug, ...props }, ref) => { const editorSuggestions = useMention(); @@ -38,4 +38,4 @@ export const RichTextEditorWrapper = React.forwardRef = observer((props) => { name="description_html" control={control} render={({ field: { value, onChange } }) => ( - = (props) => { name="description_html" control={control} render={({ field: { onChange } }) => ( - = observer((props) => { name="description_html" control={control} render={({ field: { value, onChange } }) => ( - = observer((props) => { name="description_html" control={control} render={({ field: { value, onChange } }) => ( - ) => void; + issueUpdate: (issue: Partial) => Promise; issueReactionCreate: (reaction: string) => void; issueReactionRemove: (reaction: string) => void; isSubmitting: "submitting" | "submitted" | "saved"; @@ -175,7 +175,7 @@ export const PeekOverviewIssueDetails: FC = (props) = name="description_html" control={control} render={({ field: { onChange } }) => ( -