1.0.4 • Published 9 months ago

rich-text-quill-react v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

1. introduce(please star me alt text)

This is a very concise rich text component based on quill extension. This plug-in is used in react projects and supports use in shadow dom, Pc, H5, and mobile terminals.

2. use

import RichTextComponent, { RichTextType } from "rich-text-quill-react";

<RichTextComponent
  uploadUrl="http://www.xxx.com"
  requestHeader={{
    "Content-Type": "multipart/form-data",
  }}
/>;

3. params

params nametypedescription
editorHeightNumbereditor height: 300px
limitUploadPicSizeNumberupload picture xxxKB:1024 1000 10
limitUploadVideoSizeNumberupload video xxxKB: 1024 1000 500
editorValueanyvalue
viewDetailBooleanreadOnly: false
isDisableBooleandisable: false
onValueChangeFunctionvalue change trrigger
controlsany[]custom toolbar
placeholderStringplaceholder
containerClassString
showImageUploadBoolean
requestHeaderany
uploadUrlString
languageInfoany{uploadVideoInfo: "xx",videoInfoExceeds: "xx",uploadPicInfo: "xx",picInfoExceeds: "xx", followSys: "xx",}

4.other

if you have any question,my email:932918850@qq.com

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago