lexical_core 1.7.2 copy "lexical_core: ^1.7.2" to clipboard
lexical_core: ^1.7.2 copied to clipboard

Pure-Dart editor state model that is wire-compatible with Meta's Lexical editor: node map, sibling-pointer tree, immutable double-buffered state, node registry and JSON import/export. No Flutter dependency.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lexical_core

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  lexical_core: ^1.7.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lexical_core/lexical_core.dart';
0
likes
0
points
787
downloads

Publisher

verified publisherahmadre.com

Weekly Downloads

Pure-Dart editor state model that is wire-compatible with Meta's Lexical editor: node map, sibling-pointer tree, immutable double-buffered state, node registry and JSON import/export. No Flutter dependency.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

characters, meta

More

Packages that depend on lexical_core