about summary refs log tree commit diff stats
path: root/app/assets/javascripts/init_ckeditor.coffee
blob: 5f653af15d09a0d9699f4453c76773c02013595d (plain) (blame)
1
2
3
4
5
6
ready = ->
  $('.ckeditor').each ->
    CKEDITOR.replace $(this).attr('id')

$(document).ready(ready)
$(document).on('page:load', ready)