Skip to main content

Anyone with experience using Quilljs?

Javascript • Asked by Stéphane Paquet

Hi,

I'm lloking forward using http://quilljs.com in a project and wonder if anyone can share his/her experience with such text editor.

Related gems are looking pretty outdated (I'm using Rails 5) and connecting Quilljs to a form (I'm using Simple Form) looks akward.

Thanks


I have used Quill, it wasn't too bad to implement if i am honest. I didnt use any Gem, i simply included the require JS script and the div. It really was that simple.


I'm using Quill for few month now. It seem like a pretty decent UI component. More lightweight and flexible than CKEditor that I was using before.

You don't need a gem to integrate it with Rails. It is possible to use Rails Assets: https://rails-assets.org/#/components/quill Or just use Yarn after upgrading to Rails 5.1. It is more straightforward way to install Quill.


Thank you @alan and @alex.


Hi how did you set up quill to save to rails/post on form submit?


Azeem: Just pick text editor contents using Quill API, and add it to the form payload, using onSubmit event handler. Check out this artice for example:

https://harlemsquirrel.github.io/jekyll/update/2016/12/11/rails-and-quill.html


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.