slate
A completely customizable framework for building rich text editors. (Currently in beta.) (by ianstormtaylor)
trix
A rich text editor for everyday writing (by basecamp)
Our great sponsors
slate | trix | |
---|---|---|
26 | 31 | |
28,945 | 18,617 | |
- | 2.3% | |
8.4 | 7.4 | |
5 days ago | 9 days ago | |
TypeScript | JavaScript | |
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.)
trix
Posts with mentions or reviews of trix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
WYSIWYG editor for a new Rails project
Trix was the winner. It was easy to style, is well maintained, has documentation for embedding it into a form, is easy to create custom keyboard shortcuts for, has great examples on how to save/load content or modify it with javascript.
- Ask HN: What is your favorite FOSS WYSIWYG editor?
-
How to use Cloudflare R2 with Ruby on Rails Active Storage
In some case, you may need to allow the user to upload the file in the text editor like Trix editor. However, you current configuration not allowed it, you need to configure the CORS. Here the configuration
-
Formatting tags in reviews
I inspected the text editor and it looks like it's something called Trix. The example on their website has a hyperlink button. No idea how to add links in StoryGraph though, besides the workaround the other user mentioned. Maybe ask Nadia on Instagram or Twitter - she's super responsive!
-
Managers want to build a Web Rich Text Editor from scratch - Seems like bad idea
I'm sure something like Trix (used in Ruby on Rails) would probably do the job - https://trix-editor.org/
- Usando Action Text em Rails 7
-
Thinking in Hotwire: Progressive Enhancement
For this, you can add a small, isolated component to the page. An example from Rails is the Trix rich text editor: it is a standard web component.
-
Is Trix/ActionText Dead?
I have been implementing a kind of blog builder using ActionText and Trix. However, understanding how Trix works, customizing it, and making image uploads possible, seems not very well documented. Also, looking at Trix's Github page there doesn't seem to be a lot of activity.
- Trix: A rich text editor for everyday writing
-
My project: railstart app
Text Editor: trix and TinyMCE
What are some alternatives?
When comparing slate and trix you can also consider the following projects:
Draft.js - A React framework for building text editors.
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
ProseMirror - The ProseMirror WYSIWYM editor
bootstrap-wysihtml5 - Simple, beautiful wysiwyg editor
tiptap - The headless rich text editor framework for web artisans.
Froala Editor - The next generation Javascript WYSIWYG HTML Editor.
lexical - Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
Summernote - Super simple WYSIWYG editor
Editor.js - A block-style editor with clean JSON output