+++ /dev/null
-/**\r
- * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
- * For licensing, see LICENSE.md or http://ckeditor.com/license\r
- */\r
-\r
-// This file contains style definitions that can be used by CKEditor plugins.\r
-//\r
-// The most common use for it is the "stylescombo" plugin, which shows a combo\r
-// in the editor toolbar, containing all styles. Other plugins instead, like\r
-// the div plugin, use a subset of the styles on their feature.\r
-//\r
-// If you don't have plugins that depend on this file, you can simply ignore it.\r
-// Otherwise it is strongly recommended to customize this file to match your\r
-// website requirements and design properly.\r
-\r
-CKEDITOR.stylesSet.add( 'default', [\r
- /* Block Styles */\r
-\r
- // These styles are already available in the "Format" combo ("format" plugin),\r
- // so they are not needed here by default. You may enable them to avoid\r
- // placing the "Format" combo in the toolbar, maintaining the same features.\r
- /*\r
- { name: 'Paragraph', element: 'p' },\r
- { name: 'Heading 1', element: 'h1' },\r
- { name: 'Heading 2', element: 'h2' },\r
- { name: 'Heading 3', element: 'h3' },\r
- { name: 'Heading 4', element: 'h4' },\r
- { name: 'Heading 5', element: 'h5' },\r
- { name: 'Heading 6', element: 'h6' },\r
- { name: 'Preformatted Text',element: 'pre' },\r
- { name: 'Address', element: 'address' },\r
- */\r
-\r
- { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },\r
- { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },\r
- {\r
- name: 'Special Container',\r
- element: 'div',\r
- styles: {\r
- padding: '5px 10px',\r
- background: '#eee',\r
- border: '1px solid #ccc'\r
- }\r
- },\r
-\r
- /* Inline Styles */\r
-\r
- // These are core styles available as toolbar buttons. You may opt enabling\r
- // some of them in the Styles combo, removing them from the toolbar.\r
- // (This requires the "stylescombo" plugin)\r
- /*\r
- { name: 'Strong', element: 'strong', overrides: 'b' },\r
- { name: 'Emphasis', element: 'em' , overrides: 'i' },\r
- { name: 'Underline', element: 'u' },\r
- { name: 'Strikethrough', element: 'strike' },\r
- { name: 'Subscript', element: 'sub' },\r
- { name: 'Superscript', element: 'sup' },\r
- */\r
-\r
- { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },\r
-\r
- { name: 'Big', element: 'big' },\r
- { name: 'Small', element: 'small' },\r
- { name: 'Typewriter', element: 'tt' },\r
-\r
- { name: 'Computer Code', element: 'code' },\r
- { name: 'Keyboard Phrase', element: 'kbd' },\r
- { name: 'Sample Text', element: 'samp' },\r
- { name: 'Variable', element: 'var' },\r
-\r
- { name: 'Deleted Text', element: 'del' },\r
- { name: 'Inserted Text', element: 'ins' },\r
-\r
- { name: 'Cited Work', element: 'cite' },\r
- { name: 'Inline Quotation', element: 'q' },\r
-\r
- { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },\r
- { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },\r
-\r
- /* Object Styles */\r
-\r
- {\r
- name: 'Styled image (left)',\r
- element: 'img',\r
- attributes: { 'class': 'left' }\r
- },\r
-\r
- {\r
- name: 'Styled image (right)',\r
- element: 'img',\r
- attributes: { 'class': 'right' }\r
- },\r
-\r
- {\r
- name: 'Compact table',\r
- element: 'table',\r
- attributes: {\r
- cellpadding: '5',\r
- cellspacing: '0',\r
- border: '1',\r
- bordercolor: '#ccc'\r
- },\r
- styles: {\r
- 'border-collapse': 'collapse'\r
- }\r
- },\r
-\r
- { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },\r
- { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } }\r
-]);\r
-\r