https://github.com/konstantinmuenster/lexical-examples
The missing examples library for lexical.dev
https://github.com/konstantinmuenster/lexical-examples
javascript lexical reactjs rich-text text text-editor wysiwyg
Last synced: about 1 month ago
JSON representation
The missing examples library for lexical.dev
- Host: GitHub
- URL: https://github.com/konstantinmuenster/lexical-examples
- Owner: konstantinmuenster
- Created: 2023-06-26T18:16:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T16:12:08.000Z (almost 2 years ago)
- Last Synced: 2025-03-17T08:38:16.246Z (about 1 month ago)
- Topics: javascript, lexical, reactjs, rich-text, text, text-editor, wysiwyg
- Language: TypeScript
- Homepage: https://lexical-examples-demo.vercel.app
- Size: 327 KB
- Stars: 41
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `lexical-examples`
#### The missing examples library for [lexical.dev](https://lexical.dev/).
Lexical has only been released quite recently. It was built with a composability mindset, similar to React. This allows you to do all sorts of interesting patterns.
This repository should exemplify these patterns and hopefully be a helpful resource for developers getting their heads around Lexical.
### [🕹️ Playground](https://lexical-examples-demo.vercel.app/)
### [🗂 Example directory](https://github.com/konstantinmuenster/lexical-examples/tree/main/examples)
Every example is reduced to the bare minimum and can be executed on its own. I only ceated a few utility packages to share common functionalities and UI elements.
## Development
Running a specific example locally:
```bash
# Clone the repository
git clone https://github.com/konstantinmuenster/lexical-examples.git
cd lexical-examples# Install dependencies
yarn# Run the shared packages and a specified example in development
# (swap out `lexical-nested-editor` if you want to run another example)
yarn dev --filter='./shared/*' --filter=lexical-nested-editor
```## About
Konstantin Münster – [konstantin.digital](https://konstantin.digital)