Answer the question
In order to leave comments, you need to log in
How to load images in Ruby on Rails in the visual editor?
Have you ever used a WYSIWYG editor and wanted to upload images?
In my case, I use https://www.tinymce.com/ , read the documentation, and did not know how to upload images from a computer (I do not say how to add a plugin so that you can upload images).
It is not necessary to use tinymce, and if your projects (on RoR) have some kind of visual editor and you can upload pictures from there, then share how you can do it!!!
Answer the question
In order to leave comments, you need to log in
You don't need to look at the plugin's documentation, but at the gema documentation for that plugin. Or any other that you like. If the gem is able to load assets, then it will be written in the documentation about it. I know for sure that ckeditor can https://github.com/galetahub/ckeditor and works with all popular file uploaders - carrierwave, dragonfly, refile, paperclip.
Specifically, under tinymce there is a separate gem for download https://github.com/dreyercalitz/tinymce-rails-file...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question