slate
A completely customizable framework for building rich text editors. (Currently in beta.) (by ianstormtaylor)
lexical
Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance. (by facebook)
Our great sponsors
slate | lexical | |
---|---|---|
26 | 56 | |
28,980 | 17,307 | |
- | 2.5% | |
8.4 | 9.7 | |
6 days ago | 2 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
slate
Posts with mentions or reviews of slate.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-03.
- 5 Not-So-Typical React Libraries for an Outstanding Project
-
Which Rich Text Editor to use ?
- it creates a layout based on rows and cells, so it support multi-column layout - each cell can contain a different "cell-plugin", - richt-text editor based on https://github.com/ianstormtaylor/slate is built in and comes with its own plugin system. It can do weight, italic, block-types, alignment and lists and can be extended as you want (even with elements storing data and interactive components) - you can create custom cell plugins based on a schema (or custom control ui) and a component that should be rendered - it stores an object tree that represent it, not html. It therefore can contain any react component, which is great if you want to allow your editors to add interactive components or components that you already built as part of the app - i carefully optimized for SSR and bundle size, so no editor ui is rendered nor loaded. editor ui is only loaded on the client if you disable readOnly. (lazy loading) - it mainly tested with nextjs, since i used it for content-heavy pages. - its not yet tested with react-server components, but it should actually work in read-only mode
-
What is your goto WYSIWYG Editor?
Finally there's Slate and Lexical which are super powerful in terms of customizability and extensibility. They're great options for when the editing experience plays a major role in the product.
-
Looking for the best React Editor library
Slate, as per its documentation, is a completely customizable framework for building rich text editors. Therefore, it doesn't offer a feature-rich text editor but instead provides tools to build one. Let's create a component called Slate and see what the Slate editor looks like.
-
Slate | Editor in 10min with Next.js and TS ✍️
Link to Repo
-
Is there a good alternative to Draft-js rich text editor?
Word of warning about Slate: I love the API and the design goals, but it appears to suffer from some fundamental issues. We were experiencing issues similar to this one and a team of multiple 10+ year experienced frontend devs couildn't figure out what was going on. I had to completely rip out a feature we had built with Slate and had to reimplement a new version from scratch with Lexical. So far we have no issues other than those inherent to rich text editing.
-
Lexical – a web text editor framework that powers Facebook
We're trying to choose between Lexical and Slate at work. Do you have any examples that would be similar to this? https://github.com/ianstormtaylor/slate/blob/main/site/examp...
-
A good rich text editor for reactjs?
If you are going to customise a ton of functionalities and/or implement new functionality I suggest using SlateJS. If not, have a look at Sun editor.
-
Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in Browser
You definitely need to give Slate (https://github.com/ianstormtaylor/slate) a try - the best editor framework I've used.
-
Best WYSIWYG editor for Vue that supports structured content?
Slate: Looks very promising, but it's for React. (Someone has floated the idea of making it framework-agnostic, but the maintainers haven't committed to that goal yet.)
lexical
Posts with mentions or reviews of lexical.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-19.
-
Quill – Your powerful rich text editor
I remember using https://github.com/facebook/lexical for a project a year ago and mostly things worked our of the box.
Any reason to prefer quill?
-
Wax: The Word Processor for the Web
Lexical (https://lexical.dev/) is really nice to use and doesn't use Prosemirror or CKEditor.
- Ask HN: What is your favorite FOSS WYSIWYG editor?
-
Has anyone had much experience using Lexical (by Meta) recently?
I've tried to get to grips with Lexical but found the docs pretty hard to follow. It definitely seems to offer pretty heaps of power, just unlocking that seemed tricky. We're hoping to use it for customer facing collaborative list product that allows for richer media (video, code blocks etc.)
-
MDX Editor - a Rich Text Markdown Editor React Component
Yes, it uses the Lexical framework internally, so markdown gets converted to an AST, then the AST gets serialized back.
-
On Google Docs and why rich text editors need custom layout engines
Rich text editing doesn't imply pagination. Contenteditable is not abandoned. Lexical[1], Meta's framework for text editing relies on contenteditables.
[1]: https://lexical.dev/
-
In what text format do apps like twitter and instagram store their tweets and bios?
lexical is a framework for building web based text-editors ... so yea it can do formatting but if you are using it to just do formatting you are very much using the wrong tool.
- Add components within the textarea
-
Best Text Editor to integrate with React?
Haven't tried it out myself, but it's probably Lexical.
-
New Svelte Core/Vercel Team Member
Svelte just got a lot more interesting! Dominic who is the creator of LexicalJs and InfernoJs (which is known to be insanely fast) has joined the svelte core team and is now working at Vercel full time! Here is the announcement on Twitter!
What are some alternatives?
When comparing slate and lexical you can also consider the following projects:
Draft.js - A React framework for building text editors.
tiptap - The headless rich text editor framework for web artisans.
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
ProseMirror - The ProseMirror WYSIWYM editor
Monaco Editor - A browser based code editor
Editor.js - A block-style editor with clean JSON output
TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
react-quill - A Quill component for React.