All Questions
Tagged with ruby-on-rails trix
115
questions
0
votes
0
answers
21
views
Rails 7 actiontext embedded images
Using trix 2.1.2, Rails 7.1.3.4, I'm able to create a message with an embedded image (using google for active storage) and it displays when I first create the message and also when I "show" ...
0
votes
0
answers
18
views
Issue with rails hotwire trix textarea resize
im trying to create a textarea resize grippie more or less like the SO for a trix textarea with rais stimulus so i set this controller below
the issue is when i pull down the textarea the textarea ...
0
votes
0
answers
29
views
Rails 7 - Adding textAttributes to trix affects the paste functionality
I'm trying to add a highlight button to Trix editor and it works ... but on paste text, it also applies the highlight. Looks like the tagNamespan It's used for all the pasted text and also affects the ...
1
vote
1
answer
34
views
Rails ActionText Trix support for embedded attachments with expiring url? urls_expire_in
I tried using Trix in a project with ActiveStorage urls_expire_in 30 min option. After adding an embedded/inline image in Trix, a temporary url is saved in the body content (with a redirect and ...
1
vote
1
answer
118
views
I'm trying to add the Trix editor with ActionText without Webpacker into my Rails app
I'm trying to add the Trix editor with ActionText into my Rails app, but I'm not using Webpacker. I've been following the official documentation, but it seems to assume the use of Webpacker. Can ...
0
votes
1
answer
103
views
Confiure trix editor to not generate header style tags
I am using 'trix-rails' gem in a Ruby on Rails project. I need to make the project abide to no unsafe-inline CSP, but I have problems with the two style tags generated by trix in the header.
I am ...
1
vote
1
answer
152
views
Uncaught SyntaxError: The requested module 'trix' does not provide an export named 'default' (at youtube.js:1:8) in rails 7.1 when trying to edit trix
I am currently facing an issue when I try to configure the actiontext editor in rails 7.1.3 to handle YouTube videos embedded.
Currently running rails 7.1.3, ruby 3.2.0, and using importmaps.
(...
0
votes
0
answers
31
views
Error when adding image attachment to action_text rails active_storage
The form is displayed correctly
But when I try to load in the form description field, I get errors in the browser console
http://localhost:5000/rails/active_storage/direct_uploads
Uncaught Error: ...
2
votes
1
answer
755
views
ActionText Trix Editor rails 7.0.7 won't load in production environment
I've created an action text editor with a rails 7.0.7 app, ruby 3.2.2 . The action text for works fine in development but it won't load in production. When I open up the dev tools it can't find trix ...
0
votes
0
answers
113
views
Ruby on rails actiontext content does not display
I'm currently learning Ruby on Rails, and for my first project, I'm creating a blog application by following the instructions in this tutorial. However, I've encountered an issue when trying to ...
0
votes
0
answers
168
views
ActionText saving rich content, but not uploading embeds
ActionText/Trix will store rich text, but will not process/store embeds either locally or on S3. When I drag a file into The progress bar on drag/drop does not progress, but the image shows up and the ...
2
votes
1
answer
685
views
Rails 7 - rich text not showing attached media content
I'm working on a Rails 7 app in which I use ActionText/Trix editor. I'm using Amazon AWS / S3 for storing files. I have verified and can see that media files gets uploaded to S3, but for some reason ...
0
votes
1
answer
49
views
Why are hyperlinks getting added to the beginning of the content box in a rails actiontext instance?
I'm working on a rails app that is using ActionText and trix for rich text content.
I noticed that when I add multiple hyperlinks to an instance of trix, the first one works as expected, the others ...
0
votes
0
answers
469
views
ActionText is displaying with html tags when displayed in rails 6
I tried looking around but couldnt find an answer to this. The only post I found that resembles my problem is here: Action Text displaying html tags However when I try to use the sanetize method I ...
0
votes
1
answer
191
views
Syntax for form data elements using stimulus-library
Reference document stimulus-library and its relevant example
Attempting to get the rich text area - also using mobility - wher the goal is to alter the trix-editor tag as follows:
<trix-editor
...