diginext-editor

0.1.5 • Public • Published

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ợ.

/diginext-editor/

    Package Sidebar

    Install

    npm i diginext-editor

    Weekly Downloads

    7

    Version

    0.1.5

    License

    none

    Unpacked Size

    23 kB

    Total Files

    9

    Last publish

    Collaborators

    • tamlam
    • mrgoonie