0.1.0 • Published 7 months ago
@makeform/richtext v0.1.0
@makeform/richtext
Richtext input widget. Based on Quilljs.
Config
Opset
this widget provides one additional opset richtext
with following 2 ops:
image-count
: limit how many images users can insert in this widget.- config:
min
: number, minimal image countmax
: number, maximal image count
- config:
text-length
: limit text length- config:
min
: number, minimal image countmax
: number, maximal image countmethod: string, default
char. can be either
charor
simple-word`.- length calculation will be based on character count if set to
char
. whensimple-word
is used, it will try to count by words (ignoring space, punctuations, etc)
- length calculation will be based on character count if set to
- config:
License
MIT