Sha256: a81570f003c2ce3bf9cb6f2c582d180779e6c0382058f8b50298f7ffb4fdade2

Contents?: true

Size: 1000 Bytes

Versions: 29

Compression:

Stored size: 1000 Bytes

Contents

CKEDITOR.editorConfig = (config) ->
  config.language = tkh_locale
  config.uiColor = "#AADC6E"
  config.width = '650'
  config.height = '450'
  config.forcePasteAsPlainText = true
  config.allowedContent = true
  # config.extraAllowedContent = true

  config.toolbar_Pure = [
    { name: 'styles',      items: [ 'Format' ] },
    { name: 'basicstyles', items: [ 'Bold','Italic','Strike','-','RemoveFormat' ] },
    { name: 'paragraph',   items: [ 'BulletedList','NumberedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight' ] },
    # { name: 'quoteauthor', items: [ element: 'p', attributes : { 'class' : 'author'} ] }, # tried but it did not work
    '/',
    { name: 'clipboard',   items: [ 'Undo','Redo' ] },
    { name: 'links',       items: [ 'Link','Unlink' ] },
    { name: 'insert',      items: [ 'Image','Table','HorizontalRule','SpecialChar' ] },
    { name: 'document',    items: [ 'Source','-','Save' ] },
    ]
  config.toolbar = 'Pure'
  true

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
tkh_content-0.10.4 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.3 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.2 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.1 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.20 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.19 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.18 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.17 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.16 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.15 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.14 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.13 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.12 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.11 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.10 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.9 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.8 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.7 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.9.6 app/assets/javascripts/ckeditor/config.js.coffee