How to do authentication RichTextEditorComponent image upload to server using serverUrl?

13 Views Asked by At
<RichTextEditorComponent
  name={name}
  id="inlineRTE"
  autoSaveOnIdle
  saveInterval={0}
  ref={ref}
  placeholder={placeholder}
  format={{ width: "auto" }}
  insertImageSettings={{
  saveUrl: 'http://localhost:8000/api/files/upload'
  }}                        
  </RichTextEditorComponent>

saveUrl giving unauthorized error is there any way to pass the custom function to upload image

0

There are 0 best solutions below