Dotclear


Ignore:
Timestamp:
11/18/16 18:11:18 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Update CKEditor from 4.5.11 to 4.6.0, update dotclear skin (copy of new 4.6 default skin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/js/ckeditor/styles.js

    r3175 r3410  
    66// This file contains style definitions that can be used by CKEditor plugins. 
    77// 
    8 // The most common use for it is the "stylescombo" plugin, which shows a combo 
    9 // in the editor toolbar, containing all styles. Other plugins instead, like 
    10 // the div plugin, use a subset of the styles on their feature. 
     8// The most common use for it is the "stylescombo" plugin which shows the Styles drop-down 
     9// list containing all styles in the editor toolbar. Other plugins, like 
     10// the "div" plugin, use a subset of the styles for their features. 
    1111// 
    12 // If you don't have plugins that depend on this file, you can simply ignore it. 
    13 // Otherwise it is strongly recommended to customize this file to match your 
     12// If you do not have plugins that depend on this file in your editor build, you can simply 
     13// ignore it. Otherwise it is strongly recommended to customize this file to match your 
    1414// website requirements and design properly. 
     15// 
     16// For more information refer to: http://docs.ckeditor.com/#!/guide/dev_styles-section-style-rules 
    1517 
    1618CKEDITOR.stylesSet.add( 'default', [ 
    17      /* Block Styles */ 
     19     /* Block styles */ 
    1820 
    19      // These styles are already available in the "Format" combo ("format" plugin), 
     21     // These styles are already available in the "Format" drop-down list ("format" plugin), 
    2022     // so they are not needed here by default. You may enable them to avoid 
    2123     // placing the "Format" combo in the toolbar, maintaining the same features. 
     
    4446     }, 
    4547 
    46      /* Inline Styles */ 
     48     /* Inline styles */ 
    4749 
    4850     // These are core styles available as toolbar buttons. You may opt enabling 
    49      // some of them in the Styles combo, removing them from the toolbar. 
    50      // (This requires the "stylescombo" plugin) 
     51     // some of them in the Styles drop-down list, removing them from the toolbar. 
     52     // (This requires the "stylescombo" plugin.) 
    5153     /* 
    5254     { name: 'Strong',             element: 'strong', overrides: 'b' }, 
     
    7880     { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } }, 
    7981 
    80      /* Object Styles */ 
     82     /* Object styles */ 
    8183 
    8284     { 
    83           name: 'Styled image (left)', 
     85          name: 'Styled Image (left)', 
    8486          element: 'img', 
    8587          attributes: { 'class': 'left' } 
     
    8789 
    8890     { 
    89           name: 'Styled image (right)', 
     91          name: 'Styled Image (right)', 
    9092          element: 'img', 
    9193          attributes: { 'class': 'right' } 
     
    9395 
    9496     { 
    95           name: 'Compact table', 
     97          name: 'Compact Table', 
    9698          element: 'table', 
    9799          attributes: { 
     
    107109 
    108110     { name: 'Borderless Table',        element: 'table',   styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } }, 
    109      { name: 'Square Bulleted List',    element: 'ul',      styles: { 'list-style-type': 'square' } } 
     111     { name: 'Square Bulleted List',    element: 'ul',      styles: { 'list-style-type': 'square' } }, 
     112 
     113     /* Widget styles */ 
     114 
     115     { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } }, 
     116     { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } }, 
     117 
     118     { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } }, 
     119 
     120     { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } }, 
     121 
     122     { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' } }, 
     123     { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' } }, 
     124     { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' } }, 
     125     { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' } }, 
     126     { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' } }, 
     127 
     128     // Adding space after the style name is an intended workaround. For now, there 
     129     // is no option to create two styles with the same name for different widget types. See #16664. 
     130     { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' } }, 
     131     { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' } }, 
     132     { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' } }, 
     133     { name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' } }, 
     134     { name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' } } 
     135 
    110136] ); 
    111137 
Note: See TracChangeset for help on using the changeset viewer.

Sites map