diginext-editor
v0.1.5
Published
Next.js Component `Text Editor` dùng cho Diginext Framework
Downloads
4
Readme
Diginext Text Editor
Next.js Component Diginext Text Editor
dùng cho Diginext Framework
được phát triển bởi TOP GROUP Developers.
<TextEditor features="basic" defaultContent="Edit me! 😈" />
What's inside?
TextEditor
: an awesome text editor called TipTap
Features
You can config "features" and "bubbleFeatures" as following:
- none
- basic
- full
- minimal
- bubble
...or an array of features:
"highlight", "task", "counter", "color", "image", "alignment", "heading", "markdown", "link", "youtube", "list", "history"
Other config
Props
defaultContent
: initial content of the editorreadOnly
: read only mode, default isFALSE
charactersLimit
: max amount of characters, default is10000
hideBubble
: disable bubble menu, default isFALSE
Callback
onChange: ({editor:Editor, textValue:String, htmlValue:String}) => {}
onInit: (editor:Editor) => {}
Support
Liên hệ TOP GROUP Developers nếu cần hỗ trợ.