forked from ckeditor/ckeditor4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.js
92 lines (87 loc) · 1.89 KB
/
styles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/**
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
// This file contains style definitions that can be used by CKEditor plugins.
//
// The most common use for it is the "stylescombo" plugin which shows the Styles drop-down
// list containing all styles in the editor toolbar. Other plugins, like
// the "div" plugin, use a subset of the styles for their features.
//
// If you do not have plugins that depend on this file in your editor build, you can simply
// ignore it. Otherwise it is strongly recommended to customize this file to match your
// website requirements and design properly.
//
// For more information refer to: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#style-rules
CKEDITOR.stylesSet.add( 'default', [
// begin PolicyStat styles
{
name: 'Highlight',
element: [
'address',
'div',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'p',
'pre',
'table',
'td',
'th'
],
attributes: { 'class': 'highlight' }
},
{
name: 'Center',
element: [
'address',
'div',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'p',
'pre',
'table',
'td',
'th'
],
attributes: { 'class': 'center' }
},
{
name: 'Equally spaced table',
element: 'table',
attributes: { 'class': 'fixed' }
},
{
name: 'List: A. B. C.',
element: 'ol',
attributes: { 'class': 'list-upper-alpha' }
},
{
name: 'List: 1. 2. 3.',
element: 'ol',
attributes: { 'class': 'list-decimal' }
},
{
name: 'List: a. b. c.',
element: 'ol',
attributes: { 'class': 'list-lower-alpha' }
},
{
name: 'List: i. ii. iii.',
element: 'ol',
attributes: { 'class': 'list-lower-roman' }
},
{
name: 'List: I. II. III.',
element: 'ol',
attributes: { 'class': 'list-upper-roman' }
}
] );
// %LEAVE_UNMINIFIED% %REMOVE_LINE%