3,650 Experience
36 Lessons Completed
0 Questions Solved


Another shortcut to the root route is that you can drop the to:
root: "main#index"

Posted in ActionText remove attach file button from Trix editor

I know this is old but you can add an event listener in application.js:

document.addEventListener("trix-file-accept", (e) => {

and then target the UI with CSS in application.scss:

.trix-button-group--file-tools {
  display: none !important;

I am having the same issue. I did find out that in the event, is empty. I am not sure why.

Did you find a solution? I am wondering the same thing.

Posted in Tabs with Stimulus

Ok Chris I just joined here and this package makes it worth it. A smooth dropdown menu. Great job and thanks.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.