guijiangheng / lexical-rich-text-react-demo

A simple wysiwyg / rich text editor built with Lexical and React.

Home Page:https://lexical-rich-text-react-demo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✍️ Rich Text Editor w/ Lexical & React

A simple wysiwyg / rich text editor built with Lexical and React. I built this demo project for my blog post on how to use Lexical. Feel free to browse, fork, and clone this repository.

📌 Live Demo: lexical-rich-text-react-demo.vercel.app

📌 Blog Post: How To Build A Text Editor With Lexical and React


lexical react rich text demo


Features

  • Floating Menu Format selected text easily
  • Markdown Support Use Markdown syntax, such as ##
  • Local Storage Persist your content locally
  • History Undo/Redo changes with just a click

Note: The feature set is far from complete. It should only show how to approach most common text editing features.

Installation

git clone https://github.com/konstantinmuenster/lexical-rich-text-react-demo.git
cd lexical-rich-text-react-demo
pnpm install # or npm install
pnpm run dev # or npm run dev

About

Buy Me A Coffee

Konstantin Münster – konstantin.digital

Distributed under the MIT license. See LICENSE for more information.

https://github.com/konstantinmuenster

About

A simple wysiwyg / rich text editor built with Lexical and React.

https://lexical-rich-text-react-demo.vercel.app

License:MIT License


Languages

Language:TypeScript 94.4%Language:JavaScript 3.5%Language:HTML 1.3%Language:CSS 0.8%