trix Questions

2

I am trying to add attribute like id, class for span tag in trix-editor while inserting the html through java-script but when I checked the DOM for that tag, editor removing the added attributes fr...
Denunciate asked 4/7, 2018 at 7:45

3

Solved

I have setup a custom embed model so I can add things like instagram or youtube embeds to actiontext content on my site. It's working correctly for instagram embeds, but not youtube. As a referenc...
Tantalic asked 16/4, 2020 at 2:30

6

Solved

I had Paper Trail Gem nicely set up with my basic model Article which had a text column called body. However, after I have implemented Action Text to my application and removed the column body from...
Lee asked 6/4, 2019 at 0:56

2

Solved

According to documentation I added action_text/trix to my rails app. And when I update a content. It shows me following errors. Any idea? Showing /home/dell/code/tm/app/views/active_storage/blobs/_...
Cathouse asked 29/8, 2021 at 4:42

2

Solved

Is there an easy way to do that to remove the "decrease level" and "increase level" buttons from the trix toolbar? Right now I'm achieving this by simply rendering a custom toolbar, without the of...
Coyote asked 2/10, 2018 at 20:57

4

Solved

When wiring together Trix editor content with Livewire, I am stumbling into problems. I believe that the issue is that when Livewire receives content from Trix, the content is swapped out and Trix ...
Suberin asked 5/3, 2020 at 6:56

3

Solved

I can't find a way to implement the functionality of embeding youtube/vimeo video is actiontext/trix. This is what I want to achieve: GIF source: https://github.com/basecamp/trix/issues/206#is...
Khoisan asked 18/5, 2020 at 10:56

3

I am trying to display embedded videos with ActionText on Rails 6, both in the WYSIWYG Trix, and in the rendered content. But the ActionText renderer filters all raw html code and forces me to use ...
Pul asked 26/5, 2019 at 19:1

3

Solved

I am trying to write an RSpec system test that involves filling out an ActionText / Trix field on a page. It seems as though ActionText::SystemTestHelper as defined here is available to help with ...
Preordain asked 2/8, 2019 at 3:54

2

Solved

I want to add action text to my app. But it also sets Active Storage. I already use CarrierWave, and don't need Active Storage. By the way, I do not need to upload files in the editor at all.
Jackstraw asked 8/1, 2020 at 16:14

2

Solved

I am editing a resource - @article - and whenever I submit it I get the following error: JSON::ParserError in ArticlesController#update 783: unexpected token at '#<ImageUploader::UploadedFile:0...
Fungi asked 4/5, 2020 at 7:21

1

Solved

I added an image to the Trix editor, generating the following code: <figure data-trix-attachment="{lots of data}" data-trix-content-type="image/jpeg" data-trix-attributes="{'presentation...
Spurt asked 15/3, 2019 at 14:13

0

Is there a way to disable direct upload of images and attachments from the ActionText/Trix Editor and replace it with a POST request to the rails backend to do the upload to S3? I'm trying to do t...
Lexington asked 6/12, 2019 at 22:1

1

Solved

I'm rendering a form that utilizes the ActionText input rich_text_area, which is the Rails implementation of the Trix WYSIWYG rich text editor. It's been working fine until I started refactoring my...
Purposeless asked 27/11, 2019 at 12:15

2

I am trying to use trix editor for my angular app. However, I am not getting any resources/npm packages to install trix editor in an angular 2 app. Can you help me with the resources/steps to do so...
Udelle asked 16/4, 2018 at 8:4

2

I use Trix Editor to have WISIWIG in my form. I want to test with RSpec and Capybara but trix-editor put the field hidden. <div class="form-group"> <trix-editor class="formatted_content ...
Amerigo asked 30/8, 2017 at 14:10

1

I am trying to build a custom paste event in React. I have a problem though that if I use the React events the event.preventDefault() is run after the default action already occurred. Here is the c...
Zworykin asked 23/12, 2015 at 22:32
1

© 2022 - 2024 — McMap. All rights reserved.