0.0.4 • Published 1 month ago

@sparrowengg/twigs-editor-react v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Welcome to twigs-editor ⚡️

RichText editor from SurveySparrow. Built on top of lexical.

Installation

npm i @sparrowengg/twigs-editor-react;

yarn add @sparrowengg/twigs-editor-react;

The editor uses the following packages as peer dependencies, so you need to install them as well.

yarn add lexical @lexical/code @lexical/html @lexical/link @lexical/list @lexical/react @lexical/rich-text @lexical/selection @lexical/utils

Usage

<Editor>
  <EditorToolbar
    tools={[
      "format",
      "bold",
      "italic",
      "underline",
      "code",
      "ordered-list",
      "unordered-list",
      "codeblock",
    ]}
  />
  <RichEditor />
</Editor>
0.0.4

1 month ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

4 months ago