feat: add actiontext and trix editor
This commit is contained in:
parent
9282590c06
commit
c4a53caf52
11 changed files with 94 additions and 11 deletions
|
|
@ -68,6 +68,8 @@ module Foodsoft
|
|||
config.active_record.yaml_column_permitted_classes = [Symbol, BigDecimal]
|
||||
|
||||
config.autoloader = :zeitwerk
|
||||
|
||||
config.active_storage.variant_processor = :mini_magick
|
||||
end
|
||||
|
||||
# Foodsoft version
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
# Pin npm packages by running ./bin/importmap
|
||||
pin "application", preload: true
|
||||
pin "trix"
|
||||
pin "@rails/actiontext", to: "actiontext.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue