зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
Fix editor loading with Turbolinks
Этот коммит содержится в:
@@ -85,11 +85,7 @@
|
||||
}
|
||||
|
||||
// --- events ------------------------------------------------------------------
|
||||
$(document).ready(() => {
|
||||
initQuillEditors()
|
||||
})
|
||||
|
||||
$(document).on('has_many_add:after', '.has_many_container', () => {
|
||||
initQuillEditors()
|
||||
})
|
||||
$(document).ready(initQuillEditors)
|
||||
$(document).on('has_many_add:after', '.has_many_container', initQuillEditors)
|
||||
$(document).on('turbolinks:load', initQuillEditors)
|
||||
})()
|
||||
|
||||
Ссылка в новой задаче
Block a user