Sha256: 7a8f142096e4f12ea7b91b3525b5a7023e179efe5238b9069730ca9922fcd31c

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
  config.PreserveSessionOnFileBrowser = true;
  // Define changes to default configuration here. For example:
  config.language = 'en';

  config.height = '400px';

  // remove collapsible toolbars so that it fits on one line
  config.toolbarCanCollapse = false;

  // allow all content
  config.allowedContent = true;

  // works only with en, ru, uk languages
  config.extraPlugins = "mediaembed,forge_assets";
  config.removePlugins = 'iframe'; // otherwise, instead of a youtube video (for example) in the content, you get an iframe block

  config.toolbar = 'Basic';
  config.toolbar_Basic =
    [
      ['Bold','Italic','Underline','Strike','TextColor'],
      ['BulletedList', 'NumberedList', 'Blockquote'],
      ['Format','RemoveFormat'],
      ['Table','HorizontalRule'],
      ['Maximize'],
      ['PasteText', 'ForgeAssets','Link','Unlink','MediaEmbed'],
      ['Source']
    ];
};

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.9 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.8 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.7 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.6 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.5 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.4 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.3 lib/forge/app/assets/javascripts/ckeditor/config.js
forge-cli-0.1.2 lib/forge/app/assets/javascripts/ckeditor/config.js