0.1.5 • Published 2 years ago

diginext-editor v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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 editor
  • readOnly: read only mode, default is FALSE
  • charactersLimit: max amount of characters, default is 10000
  • hideBubble: disable bubble menu, default is FALSE

Callback

  • onChange: ({editor:Editor, textValue:String, htmlValue:String}) => {}
  • onInit: (editor:Editor) => {}

Support

Liên hệ TOP GROUP Developers nếu cần hỗ trợ.