Draft.js
slate
Our great sponsors
Draft.js | slate | |
---|---|---|
37 | 20 | |
21,914 | 24,973 | |
0.4% | - | |
7.6 | 9.3 | |
12 days ago | 10 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
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.
Draft.js
-
Making text editor in tauri
If you want to write the GUI code in Rust, you'd need something like Dioxus (which uses Tauri under the hood). But note that the Rust GUI ecosystem is still new, so I doubt we have something like Draft.js (a wysiwyg editor component for React). There's a lot of complexity involved in writing a text editor, and I'll suspect you'll have to handle a lot of that yourself.
-
Lexical – a web text editor framework that powers Facebook
How does this compare to Draft.js, another rich text editor created by Facebook?
- Does anybody a block-based rich text editor like notion that works with react?
- Draft.js and React Native
-
make document.execCommand('insertText', false, 'message') work with draftjs?
To play around with it you can just go to https://draftjs.org/ and play with it in chrome dev tools.
-
How to align text in Draft.js
I'm wondering how to align text in Draft.js just like on the picture below.
-
Facebook open sources Lexical, an extensible text editor framework
FWIW, we updated the README to reflect the status of DraftJS today.
https://github.com/facebook/draft-js
Point taken about updating the site, though.
I think it would be helpful to explicitly say that draft.js is deprecated here [1]. I was recently caught out by this, and started using draft.js without realising it’s been abandoned.
>Sure, but indicate that it's an alpha product
Do you mean something like the banner on the README?
https://github.com/facebook/lexical
>They don't even have the decency to label it is such
Do you mean something like the big banner on the README?
slate
-
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.)
-
Switching Rich Text Editors, Part 1: Picking Tiptap
Thanks for submission! Very timely. Been searching for a stable and flexible editor (or rather a tool to build such an editor) and Tiptap looks like a good candidate.
I was also considering Slate, but have found this rather annoying bug https://github.com/ianstormtaylor/slate/issues/4833, which is surprising as it doesn't look like some rare edge case, and breaks something that seems to be like basic functionality for an editor. Had to re-consider.
-
React Libraries
Slate - A completely customizable framework for building rich text editors.
-
What is Slate.js, and will it replace Quill and Draft.js?
Slate.js is a highly customizable platform for creating rich-text editors, also known as WYSIWYG editors. It enables you to create powerful, intuitive editors similar to those you’ve probably used in Medium, Dropbox Paper, or Google Docs. These are quickly becoming standard features for many web apps, and tools like Slate make them easier to implement, ensuring your program won’t get bogged down in complexity.
-
10+ React Rich Text Editors
Building complex, nested documents was impossible. Many editors were designed around simplistic "flat" documents, making things like tables, embeds and captions difficult to reason about and sometimes impossible. Demo GitHub
-
Anyone ever tried creating a text input similar to discord's in react?
Ok good to know. Although, the Mention Example seem pretty complicated for what feels like such a simple task but still good to know about this in case I ever need it in the future
- Slate – A completely customizable framework for building rich text editors
What are some alternatives?
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
ProseMirror - The ProseMirror WYSIWYM editor
TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
Editor.js - A block-styled editor with clean JSON output
CodeMirror - In-browser code editor (version 5, legacy)
react-quill - A Quill component for React.
react-draft-wysiwyg - A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
tiptap - The headless editor framework for web artisans.
medium-editor - Medium.com WYSIWYG editor clone. Uses contenteditable API to implement a rich text solution.