rails db:migrate Restart the server and you can use action text inside your models etc. If you need to use webpacker to serve css files you have to move actiontext.scss in your webpacker (javascript) folder and in your application.sass add:
Setup Action Text. To setup Action Text, we can run the following command from root directory of a Rails 6 app: $ rails action_text:install. Above command will perform the following steps: Update package.json to add packages for actiontext and trix. Add a
Action Text is a new cool feature in Rails 6.0, which helps to build a rich text editor (WYSIWYG editor) easily in Rails application. It includes the Trix editor that handles everything from formatted text to links or embedded images.
Post a Comment:
Showing 0 Comments: