-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 attachment button has no icon #3251
Comments
I fixed this by loading own css and js: |
Yes, this worked, thank you! Maybe we could add this to the wiki? https://github.com/sferik/rails_admin/wiki/ActionText - I wasn't sure if I should just edit the wiki or no. |
@exvayn @nicholalexander How did you incorporate action text to work with rails_admin? |
@vnguyen13 there is a wiki page explaining how to get ActionText working |
Since Rails 7 removed RailsAdmin.config do |config|
config.model 'Article' do
field :content do
css_location { bindings[:view].asset_path 'actiontext.css' }
js_location { bindings[:view].asset_path 'actiontext.js' }
end
end
end |
Issue: Action Text attachment button has no icon
Because the old version of library is used (1.1.1):
https://github.com/sferik/rails_admin/blob/v2.0.1/lib/rails_admin/config/fields/types/action_text.rb
please update version of trix library
The text was updated successfully, but these errors were encountered: