Added Action Text function to editor
Let's make the editor easier to use by using ActionText
First, install imagemagick. It is a necessary tool to input the size and characters of the image.
At the terminal
$brew install imagemagick
After installation, in the gemfile,
gem 'image_processing', '~> 1.2
Described. Then execute ↓
$bundle exec rails action_text:install
$ bundle exec rails webpacker:install
Finally, since the ActionText table is created
＄ rails db:migrate
Use ActionText for an article class with an editor you want to enhance
has_rich_text :Column name
Described. After that, if you arrange HTML / CSS, it will be completed.It turned out to be something like this.