After installing Tailwind rich_text_area isn't showing correctly in forms. Exist a conflict between Rails6 ActionText and tailwind webpacker installation
There's a trick to fix this error? Thanks in advance!
Expected behavior form.rich_text_area showing a text area w/ TRIX editor in view.html.erb
Actual behavior Appearing a simple blank square in the area
Configuration
- Debian 9
- Apache-MariaDB
- Phusion Passenger 6.0.4
- rvm: 1.29.9
- Ruby: 2.6.4p104
- Rails: 6.0.0
- Node: v8.16.2
- Webpacker: 4.0.7
- Yarn: 1.19.0
- Tailwind CSS v1.1
- Vue.js 2.9.6
Following the official guide: https://edgeguides.rubyonrails.org/action_text_overview.html
model.rb
has_rich_text :content
new/edit form
form.rich_text_area :content
view.html.erb
@message.content