Created
May 14, 2014 01:58
-
-
Save flashvnn/44cf4af85eea5dac7a22 to your computer and use it in GitHub Desktop.
Drupal CKEDITOR configuration to work with bootstrap theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Reference: http://www.aglobalway.com/content/drupal-ckeditor-configuration-work-bootstrap-theme*/ | |
/* 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' | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment