app/assets/javascripts/cms/fortress/themes/wide.js.coffee in cms-fortress-1.1.4 vs app/assets/javascripts/cms/fortress/themes/wide.js.coffee in cms-fortress-1.1.5
- old
+ new
@@ -4,21 +4,21 @@
tinymce.init
selector: 'textarea[data-cms-rich-text]'
menubar: 'tools format view'
toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | fullscreen code | image fmedia link"
plugins: ['code', 'fullscreen', 'media', 'link']
- link_list: media.othersUrl()
+ link_list: CmsFortress.media.othersUrl()
setup: (ed) ->
ed.addButton 'image',
title: 'Insert Image'
onclick: ->
- media.showImageDialog(ed)
+ CmsFortress.media.showImageDialog(ed)
ed.addButton 'fmedia',
tooltip: 'Insert Video'
icon: 'media'
stateSelector: ['img[data-mce-object=video]', 'img[data-mce-object=iframe]']
onclick: ->
- media.showVideoDialog(ed)
+ CmsFortress.media.showVideoDialog(ed)