trix
Stimulus
Our great sponsors
trix | Stimulus | |
---|---|---|
32 | 111 | |
18,668 | 12,456 | |
2.6% | 0.5% | |
7.4 | 6.4 | |
4 days ago | 8 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.
trix
-
Quill – Your powerful rich text editor
Trix is simple and easy to use for basic writing like a blog. It’s what Basecamp and HEY both use (it was built by 37signals and is the default in Rails)
https://trix-editor.org/
-
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
Stimulus
-
Turbo Streaming Modals in Ruby on Rails
I also recommend checking out the docs for Stimulus and Turbo to familiarise yourself with all their features and the APIs used in this series.
-
Google: Angular and Wiz Are Merging
Any tips on preparing to work with Wiz as an incoming intern. I heard its identical to Stimulus: https://stimulus.hotwired.dev/
-
How to integrate Component Architecture into Symfony?
use Stimulus
- Stimulus: A modest JavaScript framework for the HTML you already have
-
Build Drag and Drop with Rails Hotwire
With Stimulus, you've got a powerful tool to take your app's interactivity up a notch. For even more awesome features and Stimulus wizardry, check out the Stimulus Documentation.
-
Supercharge your Stimulus controllers with Custom APIs
The next version of Stimulus makes it easier to access parts of the private API thanks to my pull request.
-
Why are you still using jQuery?
I like Stimulus, it was a bit pushed by Symfony with their ux thing.
-
Too Much JavaScript? Why the Frontend Needs to Build Better
I thought it'd be https://stimulus.hotwired.dev/ for a minute but I think that ecosystem is tied too closely with rails.
-
Learn Stimulus in Ruby on Rails by Building a Toggle)
Hey HN!
For those new to Rails, Stimulus (https://stimulus.hotwired.dev/) is a way to sprinkle frontend javascript code into your Rails views.
I held off using Stimulus in my Rails apps for a long time because I didn't understand it — the data= attributes looked weird, and the connection between my Rails views and Stimulus javascript controllers was confusing.
So I decided to write the guide I wish I had when I was learning Stimulus.
Hope you enjoy it! I'm happy to answer any questions, feel free to ask any.
Thanks, Harrison
-
Your first Stimulus controller — Learn Stimulus by building a toggle in your Rails app
Hey /r/rails, these past few weeks, I've been working on a beginner's guide to Stimulus and I'm excited to finally share it!
What are some alternatives?
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
turbo-rails - Use Turbo in your Ruby on Rails app
TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
htmx - </> htmx - high power tools for HTML
bootstrap-wysihtml5 - Simple, beautiful wysiwyg editor
hotwire-rails - Use Hotwire in your Ruby on Rails app
Froala Editor - The next generation Javascript WYSIWYG HTML Editor.
django-unicorn - The magical reactive component framework for Django ✨
tiptap - The headless rich text editor framework for web artisans.
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
Summernote - Super simple WYSIWYG editor
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.