Sha256: e172b35ce8d3f2ac75ee170aa9a72d1c1e946d3b7e58ba583c909f99395dc54b

Contents?: true

Size: 1.04 KB

Versions: 7

Compression:

Stored size: 1.04 KB

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.htmlEncodeOutput = false;
  config.entities = false;

  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

7 entries across 7 versions & 1 rubygems

Version Path
tkh_content-0.10.10 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.9 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.8 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.7 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.6 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.5.1 app/assets/javascripts/ckeditor/config.js.coffee
tkh_content-0.10.5 app/assets/javascripts/ckeditor/config.js.coffee