зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-29 07:46:17 +03:00
What:
* adding an event listerner so when people add a 'has_many' relationship
the quill editor is initialized correctly on any fields;
Why:
* If you have a nested has_many attributes in active admin, the form
is not created until you click the 'Add New ObjectName' button. This
triggers a jQuery event called 'has_many_add:after' which you can use to
trigger the re init of the quill editor.
* 9a33a081c9/app/assets/javascripts/active_admin/lib/has_many.es6 (L52)