Draft.js
ProseMirror
Our great sponsors
Draft.js | ProseMirror | |
---|---|---|
37 | 23 | |
21,914 | 6,030 | |
0.4% | 0.8% | |
7.6 | 5.6 | |
12 days ago | 2 months ago | |
JavaScript | JavaScript | |
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?
ProseMirror
-
What Functions and other things should I know before trying to make a Rich Text Editor?
Check out https://github.com/ueberdosis/tiptap. I built a production-ready Rich text editor in a matter of hours with the help of this library. You can also build custom plugins if you need to, but then you'd have to dive into https://prosemirror.net
-
What is the best Rich Text Editor for ReactJS now?
ProseMirror - takes a lot of effort to have something working, but advantage is really low-level customization and that it's a mature and constantly maintained library.
We're using remirror in our product. It's built on top of ProseMirror so it's very flexible to build your own editor.
-
Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in Browser
I did a similar analysis a year ago and came to the conclusion that ProseMirror (https://prosemirror.net) was the right choice for my project. ProseMirror is an excellent toolkit for building your own rich text components and happens to also be written by the author of CodeMirror. It does not give you as quick an out of the box experience as slate (or any of the other rich text libraries out there) but its speed and flexibility is excellent.
-
Is there some kind of opensource widget editor? Like an advanced WYSIWYG editor
Sounds like you need a WYSIWYG editor. There are a bunch of them, but I like Prosemirror and Milkdown the most.
-
Best WYSIWYG editor for Vue that supports structured content?
ProseMirror: Seems like more of a toolkit.
-
Markdown editor for freedom!
🦾 Reliable - Built on top of prosemirror and remark
- Ask HN: What is the best way to implement a WYSIWYG editor?
-
SilentNotes v6.0 released
I'm sorry, but nested block formats are not supported, the current editor does not allow it. This cannot be changed easily, but I planned to have a look at ProseMirror, which could be a solid replacement for the current editor. At this time I cannot tell whether SilentNotes will make the switch to ProseMirror, and if it does, there is still the question whether nested block-formats are worth the loss of simplicity in usage.
-
Which WYSIWYG editor do you guys prefer?
I haven't done it in Svelte but I'd be inclined to use ProseMirror. I'm a fan of Marijn Haverbeke's work.
What are some alternatives?
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
slate - A completely customizable framework for building rich text editors. (Currently in beta.)
TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
CodeMirror - In-browser code editor (version 5, legacy)
Editor.js - A block-styled editor with clean JSON output
react-quill - A Quill component for React.
tiptap - The headless editor framework for web artisans.
react-draft-wysiwyg - A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
medium-editor - Medium.com WYSIWYG editor clone. Uses contenteditable API to implement a rich text solution.