Set default font size to 14 for tinymce
This commit is contained in:
parent
0e84244db3
commit
56c32e77f0
|
@ -1,4 +1,4 @@
|
||||||
v0.2 (17/02/2013)
|
v0.2 (02/03/2013)
|
||||||
|
|
||||||
** User **
|
** User **
|
||||||
Add dyn:post_url and dyn:post_full_url for replace directive (doesn't prepend http://)
|
Add dyn:post_url and dyn:post_full_url for replace directive (doesn't prepend http://)
|
||||||
|
@ -8,8 +8,9 @@ v0.2 (17/02/2013)
|
||||||
Add HTML5 markup for blog.soutade.fr
|
Add HTML5 markup for blog.soutade.fr
|
||||||
Add ChangeLog
|
Add ChangeLog
|
||||||
Simplify archive generation code
|
Simplify archive generation code
|
||||||
|
|
||||||
** Bugs **
|
** Bugs **
|
||||||
Escape double quotes in metas tag
|
Escape double quotes in metas tag
|
||||||
Replace line returns by <br /> for comments
|
Replace line returns by <br /> for comments
|
||||||
Archive geenration was broken for tags
|
Archive geenration was broken for tags
|
||||||
|
Returns to first page when adding a post
|
||||||
|
|
|
@ -23,6 +23,10 @@ tinyMCE.init({
|
||||||
width: "60%",
|
width: "60%",
|
||||||
height: "400",
|
height: "400",
|
||||||
|
|
||||||
|
theme_advanced_font_sizes: "14px,16px,18px,20px",
|
||||||
|
font_size_style_values : "14px,16px,18px,20px",
|
||||||
|
content_css : "../../static/js/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/custom_content.css",
|
||||||
|
|
||||||
external_image_list_url : external_list,
|
external_image_list_url : external_list,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
51
static/js/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/custom_content.css
vendored
Normal file
51
static/js/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/custom_content.css
vendored
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; margin:8px;}
|
||||||
|
body {background:#FFF;}
|
||||||
|
body.mceForceColors {background:#FFF; color:#000;}
|
||||||
|
body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;}
|
||||||
|
h1 {font-size: 2em}
|
||||||
|
h2 {font-size: 1.5em}
|
||||||
|
h3 {font-size: 1.17em}
|
||||||
|
h4 {font-size: 1em}
|
||||||
|
h5 {font-size: .83em}
|
||||||
|
h6 {font-size: .75em}
|
||||||
|
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
|
||||||
|
a.mceItemAnchor {display:inline-block; -webkit-user-select:all; -webkit-user-modify:read-only; -moz-user-select:all; -moz-user-modify:read-only; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat center center}
|
||||||
|
span.mceItemNbsp {background: #DDD}
|
||||||
|
td.mceSelected, th.mceSelected {background-color:#3399ff !important}
|
||||||
|
img {border:0;}
|
||||||
|
table, img, hr, .mceItemAnchor {cursor:default}
|
||||||
|
table td, table th {cursor:text}
|
||||||
|
ins {border-bottom:1px solid green; text-decoration: none; color:green}
|
||||||
|
del {color:red; text-decoration:line-through}
|
||||||
|
cite {border-bottom:1px dashed blue}
|
||||||
|
acronym {border-bottom:1px dotted #CCC; cursor:help}
|
||||||
|
abbr {border-bottom:1px dashed #CCC; cursor:help}
|
||||||
|
|
||||||
|
/* IE */
|
||||||
|
* html body {
|
||||||
|
scrollbar-3dlight-color:#F0F0EE;
|
||||||
|
scrollbar-arrow-color:#676662;
|
||||||
|
scrollbar-base-color:#F0F0EE;
|
||||||
|
scrollbar-darkshadow-color:#DDD;
|
||||||
|
scrollbar-face-color:#E0E0DD;
|
||||||
|
scrollbar-highlight-color:#F0F0EE;
|
||||||
|
scrollbar-shadow-color:#F0F0EE;
|
||||||
|
scrollbar-track-color:#F5F5F5;
|
||||||
|
}
|
||||||
|
|
||||||
|
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
|
||||||
|
font[face=mceinline] {font-family:inherit !important}
|
||||||
|
*[contentEditable]:focus {outline:0}
|
||||||
|
|
||||||
|
.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
|
||||||
|
.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
|
||||||
|
.mceItemFlash {background-image:url(../../img/flash.gif)}
|
||||||
|
.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
|
||||||
|
.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
|
||||||
|
.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
|
||||||
|
.mceItemVideo {background-image:url(../../img/video.gif)}
|
||||||
|
.mceItemAudio {background-image:url(../../img/video.gif)}
|
||||||
|
.mceItemEmbeddedAudio {background-image:url(../../img/video.gif)}
|
||||||
|
.mceItemIframe {background-image:url(../../img/iframe.gif)}
|
||||||
|
.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}
|
||||||
|
.mceHideBrInPre pre br {display: none}
|
Loading…
Reference in New Issue
Block a user