about summary refs log tree commit diff stats
path: root/app/assets/javascripts/init_ckeditor.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/init_ckeditor.coffee')
-rw-r--r--app/assets/javascripts/init_ckeditor.coffee6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/init_ckeditor.coffee b/app/assets/javascripts/init_ckeditor.coffee new file mode 100644 index 0000000..5f653af --- /dev/null +++ b/app/assets/javascripts/init_ckeditor.coffee
@@ -0,0 +1,6 @@
1ready = ->
2 $('.ckeditor').each ->
3 CKEDITOR.replace $(this).attr('id')
4
5$(document).ready(ready)
6$(document).on('page:load', ready)