Sha256: b1d6752bf6e7f85c7d91ca58f0dff9b4db2317030cb9991b7ded0bfaad9bef0a

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

CKEDITOR.editorConfig = (config) ->
  config.language = 'en'
  config.uiColor = "#AADC6E"
  config.width = '750'
  config.height = '800'
  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

1 entries across 1 versions & 1 rubygems

Version Path
tkh_admin_panel-0.10 app/assets/javascripts/ckeditor/config.js.coffee