0.0.13 • Published 1 month ago

lexical-toolkit v0.0.13

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

Lexical Toolkit

Your comprehensive toolset for effortless and flexible Lexical development, equipped with essential features.

Features

Hooks

  • useLexicalToolbar
  • useHyperlinkEditor

Nodes

  • KeywordNode, $createKeywordNode, $isKeywordNode

Plugins

  • ControlledValuePlugin
  • DefaultValuePlugin
  • HyperlinkPlugin
  • KeywordPlugin
  • OnChangeContentPlugin
  • OnFocusOnBlurPlugin

Utilities

  • getSelectedNode
  • convertHtmlToNodes
  • sanitizeUrl, validateUrl

More features are to come.

Installation

Install the package using npm or yarn:

npm install lexical-toolkit
yarn add lexical-toolkit

Usage

To use a component or utility from the toolkit, simply import it into your project:

import { useLexicalToolbar } from "lexical-toolkit";

As of now, detailed documentation for each component and utility is still under development. In the meantime, you can refer to the TypeScript types provided with the package to understand how to use the various features.

Additionally, for practical examples, check out the playground within the repository.

Contributing

Contributions, feedback, and bug reports are welcome. Please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

0.0.11

1 month ago

0.0.12

1 month ago

0.0.13

1 month ago

0.0.10

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago