-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathckeditor.styles.js
More file actions
124 lines (118 loc) · 3.21 KB
/
ckeditor.styles.js
File metadata and controls
124 lines (118 loc) · 3.21 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
* This file is used/requested by the 'Styles' button.
* The 'Styles' button is not enabled by default in DrupalFull and DrupalFiltered toolbars.
*/
if(typeof(CKEDITOR) !== 'undefined') {
CKEDITOR.addStylesSet( 'drupal',
[
/* Bootstrap Styles */
/* Typography */
{ name : 'span.H1' , element : 'span', attributes: { 'class': 'h1' } },
{ name : 'span.H2' , element : 'span', attributes: { 'class': 'h2' } },
{ name : 'span.H3' , element : 'span', attributes: { 'class': 'h3' } },
{ name : 'span.H4' , element : 'span', attributes: { 'class': 'h4' } },
{ name : 'span.H5' , element : 'span', attributes: { 'class': 'h5' } },
{ name : 'span.H6' , element : 'span', attributes: { 'class': 'h6' } },
{ name : 'Paragraph Lead' , element : 'p', attributes: { 'class': 'lead' } },
{
name : 'Unstyled List',
element : 'ul',
attributes :
{
'class' : 'list-unstyled'
}
},
{
name : 'List inline',
element : 'ul',
attributes :
{
'class' : 'list-inline'
}
},
{
name : 'Table',
element : 'table',
attributes :
{
'class' : 'table'
}
},
{
name : 'Table Striped rows',
element : 'table',
attributes :
{
'class' : 'table table-striped'
}
},
{
name : 'Table Bordered',
element : 'table',
attributes :
{
'class' : 'table table-bordered'
}
},
{
name : 'Table Hover rows',
element : 'table',
attributes :
{
'class' : 'table table-hover'
}
},
{
name : 'Table Condensed',
element : 'table',
attributes :
{
'class' : 'table table-condensed'
}
},
{
name : 'Image shap rounded',
element : 'table',
attributes :
{
'class' : 'img-rounded'
}
},
{
name : 'Image shap circle',
element : 'table',
attributes :
{
'class' : 'img-circle'
}
},
{
name : 'Image shap thumbnail',
element : 'table',
attributes :
{
'class' : 'img-thumbnail'
}
},
{
name : 'Image float left',
element : 'table',
attributes :
{
'class' : 'pull-left'
}
},
{
name : 'Image float right',
element : 'table',
attributes :
{
'class' : 'pull-right'
}
},
]);
}