Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action Text support on Rails 6.0 #6106

Closed
yopaz-giapnh opened this issue Feb 25, 2020 · 12 comments
Closed

Action Text support on Rails 6.0 #6106

yopaz-giapnh opened this issue Feb 25, 2020 · 12 comments

Comments

@yopaz-giapnh
Copy link
Contributor

Action Text is one of the most awesome feature that introduced in Rails 6.0. But I could not use the Action Text with Active Admin. Does Active Admin itself support it? If doesn't, please consider to support the function in the near feature.

@yopaz-giapnh yopaz-giapnh changed the title Action Text support with Rails 6.0 Action Text support on Rails 6.0 Mar 5, 2020
@nayadd
Copy link

nayadd commented Sep 11, 2020

Any news on this one? I found several different ways to implement this, but would love official support from the gem!

@deivid-rodriguez
Copy link
Member

Hi, no, sorry! I never used Action Text myself. Any links to guides on how to set it up, how to use it, and how you would like it supported in ActiveAdmin would be appreciated. Thanks!

@troya2
Copy link

troya2 commented Sep 30, 2020

There's a SO article on integrating it with Active Admin (links to this issue, actually).
https://stackoverflow.com/questions/57879823/how-do-i-use-rails-6-actiontext-fields-in-an-activeadmin-form-block

@MaximeRobion
Copy link

Hey, @deivid-rodriguez Action Text is really nice to use to be fair. You can read about it here: https://edgeguides.rubyonrails.org/action_text_overview.html.

It is a really quick setup and goes well in hand with Active Storage. The story is that it started as an open-source project from the dev team at Basecamp (see the project page here), and worked so well that they integrated it in Rails 6.0.

2 things which would be really nice with an active admin integration would be :

  • the display of rich text in the index view. At the moment, active admin renders body so you can't get the information right away about what was written in the field. (see picture)

screenshot

  • The form integration for creation and edition of a rich text area. At the moment, this is what you get in the edit form for instance :

Capture d’écran 2020-11-22 à 20 58 59

Since trix editor/action text create a new div called trix-content, the edition in Active Admin become particularly tricky.

Cheers and thanks for the great work you do!

@johnnncodes
Copy link

+1 for adding support for Action Text

@TylerSangster
Copy link

+1

2 similar comments
@matthewblack
Copy link

+1

@vladfreel
Copy link

+1

@alfuken
Copy link

alfuken commented Mar 31, 2022

2 years, no news? Huh...

@yopaz-giapnh
Copy link
Contributor Author

@alfuken how many likes should I get before this issue become in progress :)))

@alfuken
Copy link

alfuken commented Mar 31, 2022

@alfuken how many likes should I get before this issue become in progress :)))

dunno, but you got mine! 👍 ;)

@javierjulio
Copy link
Member

We have someone on the team that has already expressed an interest in this so we'll try to address this separately, thank you. On the default branch we've migrated to TailwindCSS and removed SASS for v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests