fix: Image Resizing and PR (#2996)

* added image min width and height programatically

* fixed editor initialization for peek view and inbox issues

* fixed ts issues with issue id in inbox
This commit is contained in:
M. Palanikannan 2023-12-06 12:16:34 +05:30 committed by sriram veeraghanta
parent 91cb15c2e3
commit 1bddaf75b2
13 changed files with 81 additions and 63 deletions

View file

@ -24,6 +24,7 @@ export type IRichTextEditor = {
noBorder?: boolean;
borderOnFocus?: boolean;
cancelUploadImage?: () => any;
text_html?: string;
customClassName?: string;
editorContentCustomClassNames?: string;
onChange?: (json: any, html: string) => void;
@ -48,6 +49,7 @@ interface EditorHandle {
const RichTextEditor = ({
onChange,
text_html,
dragDropEnabled,
debouncedUpdatesEnabled,
setIsSubmitting,
@ -76,6 +78,7 @@ const RichTextEditor = ({
deleteFile,
restoreFile,
forwardedRef,
text_html,
extensions: RichTextEditorExtensions(
uploadFile,
setIsSubmitting,