[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 config.js

Zen Cart 源代码 config.js




下载文件

文件名: config.js
文件类型: Javascript文件
文件大小: 1.86 KiB
MD5: 3c0efa218d2444262dc8448b07655ba4

config.js - 关闭高亮
  1. /**
  2.  * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
  3.  * For licensing, see LICENSE.md or http://ckeditor.com/license
  4.  */
  5.  
  6. CKEDITOR.editorConfig = function( config ) {
  7.     // Define changes to default configuration here.
  8.     // For complete reference see:
  9.     // http://docs.ckeditor.com/#!/api/CKEDITOR.config
  10.  
  11.     config.width = '100%';
  12.  
  13.     config.uiColor = '#D4D4D4'; //#599659
  14.  
  15.     // The toolbar groups arrangement, optimized for two toolbar rows.
  16.     config.toolbarGroups = [
  17.         { name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
  18.         { name: 'editing',     groups: [ 'find', 'selection', 'spellchecker', 'document' ] },
  19.         { name: 'links' },
  20.         { name: 'insert' },
  21.         { name: 'others',       groups: [ 'mode', 'doctools'] },
  22.         '/',
  23.         { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
  24.         { name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
  25.         { name: 'styles' },
  26.         { name: 'colors' },
  27.         { name: 'about', groups: [ 'tools', 'about']}
  28.     ];
  29.  
  30.     // Remove some buttons provided by the standard plugins, which are
  31.     // not needed in the Standard(s) toolbar.
  32.     config.removeButtons = 'Subscript,Superscript,Font,Flash';
  33.  
  34.     // Set the most common block elements.
  35.     config.format_tags = 'p;h1;h2;h3;pre';
  36.  
  37.     // Simplify the dialog windows.
  38.     config.removeDialogTabs = 'image:advanced;link:advanced';
  39.  
  40.     // Allow to insert CSS styles inside CKEditor (setting to 'true' stops all content-filtering)
  41.     config.allowedContent = true;
  42.  
  43.     // AutoParagraph inserts markup when you add new lines. Setting this to false can cause usability problems and invalid html markup in your page.
  44.     //  config.autoParagraph = false;
  45.  
  46.     // List of font-sizes to appear in the font combo box
  47.     config.fontSize_sizes =  '8/8px;9/9px;10/10px;11/11px;12/12px;13/13px;14/14px;15/15px;16/16px;17/17px;18/18px;19/19px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';
  48.  
  49. };
  50.