-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #538 from musaffa/restore_default_files
restore default files to avoid missing assets
- Loading branch information
Showing
3 changed files
with
252 additions
and
242 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. | ||
* For licensing, see LICENSE.md or http://ckeditor.com/license | ||
*/ | ||
|
||
CKEDITOR.editorConfig = function( config ) { | ||
// Define changes to default configuration here. For example: | ||
// config.language = 'fr'; | ||
// config.uiColor = '#AADC6E'; | ||
}; |
266 changes: 133 additions & 133 deletions
266
app/assets/stylesheets/ckeditor/contents.css → .../assets/javascripts/ckeditor/contents.css
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,134 @@ | ||
/* | ||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. | ||
For licensing, see LICENSE.md or http://ckeditor.com/license | ||
*/ | ||
|
||
body | ||
{ | ||
/* Font */ | ||
font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; | ||
font-size: 12px; | ||
|
||
/* Text color */ | ||
color: #333; | ||
|
||
/* Remove the background color to make it transparent */ | ||
background-color: #fff; | ||
|
||
margin: 20px; | ||
} | ||
|
||
.cke_editable | ||
{ | ||
font-size: 13px; | ||
line-height: 1.6; | ||
} | ||
|
||
blockquote | ||
{ | ||
font-style: italic; | ||
font-family: Georgia, Times, "Times New Roman", serif; | ||
padding: 2px 0; | ||
border-style: solid; | ||
border-color: #ccc; | ||
border-width: 0; | ||
} | ||
|
||
.cke_contents_ltr blockquote | ||
{ | ||
padding-left: 20px; | ||
padding-right: 8px; | ||
border-left-width: 5px; | ||
} | ||
|
||
.cke_contents_rtl blockquote | ||
{ | ||
padding-left: 8px; | ||
padding-right: 20px; | ||
border-right-width: 5px; | ||
} | ||
|
||
a | ||
{ | ||
color: #0782C1; | ||
} | ||
|
||
ol,ul,dl | ||
{ | ||
/* IE7: reset rtl list margin. (#7334) */ | ||
*margin-right: 0px; | ||
/* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ | ||
padding: 0 40px; | ||
} | ||
|
||
h1,h2,h3,h4,h5,h6 | ||
{ | ||
font-weight: normal; | ||
line-height: 1.2; | ||
} | ||
|
||
hr | ||
{ | ||
border: 0px; | ||
border-top: 1px solid #ccc; | ||
} | ||
|
||
img.right | ||
{ | ||
border: 1px solid #ccc; | ||
float: right; | ||
margin-left: 15px; | ||
padding: 5px; | ||
} | ||
|
||
img.left | ||
{ | ||
border: 1px solid #ccc; | ||
float: left; | ||
margin-right: 15px; | ||
padding: 5px; | ||
} | ||
|
||
pre | ||
{ | ||
white-space: pre-wrap; /* CSS 2.1 */ | ||
word-wrap: break-word; /* IE7 */ | ||
-moz-tab-size: 4; | ||
-o-tab-size: 4; | ||
-webkit-tab-size: 4; | ||
tab-size: 4; | ||
} | ||
|
||
.marker | ||
{ | ||
background-color: Yellow; | ||
} | ||
|
||
span[lang] | ||
{ | ||
font-style: italic; | ||
} | ||
|
||
figure | ||
{ | ||
text-align: center; | ||
border: solid 1px #ccc; | ||
border-radius: 2px; | ||
background: rgba(0,0,0,0.05); | ||
padding: 10px; | ||
margin: 10px 20px; | ||
display: inline-block; | ||
} | ||
|
||
figure > figcaption | ||
{ | ||
text-align: center; | ||
display: block; /* For IE8 */ | ||
} | ||
|
||
a > img { | ||
padding: 1px; | ||
margin: 1px; | ||
border: none; | ||
outline: 1px solid #0782C1; | ||
/* | ||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. | ||
For licensing, see LICENSE.md or http://ckeditor.com/license | ||
*/ | ||
|
||
body | ||
{ | ||
/* Font */ | ||
font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; | ||
font-size: 12px; | ||
|
||
/* Text color */ | ||
color: #333; | ||
|
||
/* Remove the background color to make it transparent */ | ||
background-color: #fff; | ||
|
||
margin: 20px; | ||
} | ||
|
||
.cke_editable | ||
{ | ||
font-size: 13px; | ||
line-height: 1.6; | ||
} | ||
|
||
blockquote | ||
{ | ||
font-style: italic; | ||
font-family: Georgia, Times, "Times New Roman", serif; | ||
padding: 2px 0; | ||
border-style: solid; | ||
border-color: #ccc; | ||
border-width: 0; | ||
} | ||
|
||
.cke_contents_ltr blockquote | ||
{ | ||
padding-left: 20px; | ||
padding-right: 8px; | ||
border-left-width: 5px; | ||
} | ||
|
||
.cke_contents_rtl blockquote | ||
{ | ||
padding-left: 8px; | ||
padding-right: 20px; | ||
border-right-width: 5px; | ||
} | ||
|
||
a | ||
{ | ||
color: #0782C1; | ||
} | ||
|
||
ol,ul,dl | ||
{ | ||
/* IE7: reset rtl list margin. (#7334) */ | ||
*margin-right: 0px; | ||
/* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ | ||
padding: 0 40px; | ||
} | ||
|
||
h1,h2,h3,h4,h5,h6 | ||
{ | ||
font-weight: normal; | ||
line-height: 1.2; | ||
} | ||
|
||
hr | ||
{ | ||
border: 0px; | ||
border-top: 1px solid #ccc; | ||
} | ||
|
||
img.right | ||
{ | ||
border: 1px solid #ccc; | ||
float: right; | ||
margin-left: 15px; | ||
padding: 5px; | ||
} | ||
|
||
img.left | ||
{ | ||
border: 1px solid #ccc; | ||
float: left; | ||
margin-right: 15px; | ||
padding: 5px; | ||
} | ||
|
||
pre | ||
{ | ||
white-space: pre-wrap; /* CSS 2.1 */ | ||
word-wrap: break-word; /* IE7 */ | ||
-moz-tab-size: 4; | ||
-o-tab-size: 4; | ||
-webkit-tab-size: 4; | ||
tab-size: 4; | ||
} | ||
|
||
.marker | ||
{ | ||
background-color: Yellow; | ||
} | ||
|
||
span[lang] | ||
{ | ||
font-style: italic; | ||
} | ||
|
||
figure | ||
{ | ||
text-align: center; | ||
border: solid 1px #ccc; | ||
border-radius: 2px; | ||
background: rgba(0,0,0,0.05); | ||
padding: 10px; | ||
margin: 10px 20px; | ||
display: inline-block; | ||
} | ||
|
||
figure > figcaption | ||
{ | ||
text-align: center; | ||
display: block; /* For IE8 */ | ||
} | ||
|
||
a > img { | ||
padding: 1px; | ||
margin: 1px; | ||
border: none; | ||
outline: 1px solid #0782C1; | ||
} |
Oops, something went wrong.