0.1.5 • Published 3 years ago
diginext-editor v0.1.5
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 isFALSEcharactersLimit: max amount of characters, default is10000hideBubble: 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ợ.