12

Facebook open sources Lexical, an extensible text editor library

 2 years ago
source link: https://lexical.dev/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Lexical Logo: containing an icon of a text editor glyph containing a text cursor on the left, with the text of 'Lexical' on the right.

An extensible text editor library that does things differently

Reliable

Lexical is comprised of editor instances that each attach to a single content editable element. A set of editor states represent the current and pending states of the editor at any given time.

Accessible

Lexical is designed for everyone. It follows best practices established in WCAG and is compatible with screen readers and other assistive technologies.

Lexical is minimal. It doesn't directly concern itself with UI components, toolbars or rich-text features and markdown. The logic for these features can be included via a plugin interface.

  • Simple Setup
  • Powerful Features
  • Built to Extend
It's super easy to get started with Lexical in any environment. Lexical is framework agnostic, but provides a set of bindings for React to help you get off the ground even quicker. After the initial setup, delightfully ergonomic APIs make building custom functionality straightforward and downright fun!

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK