Sha256: f38089fd560844481163af114dfe3259bac7de8ceeebed86efc8b6ff73b90a62

Contents?: true

Size: 537 Bytes

Versions: 40

Compression:

Stored size: 537 Bytes

Contents

$ ->
  if $('.niceditor').length > 0
    niceditor = new nicEditor
      buttonList: ['fontSize', 'fontFormat', 'bold', 'italic', 'ol', 'ul', 'left', 'justify', 'center', 'right',
                  'image', 'upload', 'link', 'unlink', 'outdent', 'indent', 'hr']
      maxHeight: 400
      uploadURI: HOST_NAME + '/admix/upload'

    bkLib.onDomLoaded () ->
      $('.niceditor').each (index, element) ->
        $(element).wrap('<div class="niceditor-wrapper"></div>')
        nicEditors.editors.push( niceditor.panelInstance(element) )

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
mix-rails-0.26.3 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.26.3 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.26.2 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.26.2 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.26.1 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.26.1 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.26.0 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.26.0 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.25.1 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.25.1 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.25.0 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.25.0 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.24.1 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.24.1 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.24.0 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.24.0 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.23.1 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.23.1 app/assets/javascripts/admix/nicedit_applier.js.coffee
mix-rails-0.23.0 admix/app/assets/javascripts/admix/nicedit_applier.js.coffee
admix-0.23.0 app/assets/javascripts/admix/nicedit_applier.js.coffee