Sha256: f1158a5993631c9daa6a8540aa3b9f75033b1d8b405f990297aadfb9b9714e17
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
$(document).on 'turbolinks:before-cache', -> KindEditor.remove('.rails_kindeditor') $(document).on 'turbolinks:load', -> $('.rails_kindeditor').each -> KindEditor.create "##{$(this).attr('id')}", "allowFileManager": true, "uploadJson": $(this).data('upload'), "fileManagerJson": $(this).data('filemanager'), "width": '100%', "height": '300'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_kindeditor-0.5.1 | lib/generators/rails_kindeditor/install/templates/load_kindeditor.coffee |