Ticket #692: 692_2.patch

File 692_2.patch, 2.5 KB (added by martinkou, 21 months ago)
  • _whatsnew.html

     
    4343                Fixed Bugs:</p> 
    4444        <ul> 
    4545                <li></li> 
     46                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/692">#692</a>] Added some hints in 
     47                        editor/css/fck_editorarea.css on how to handle style items that would break the style combo. 
     48                        </li> 
    4649        </ul> 
    4750        <p> 
    4851                <a href="_whatsnew_history.html">See previous versions history</a></p> 
  • editor/css/fck_editorarea.css

     
    2626 * file. 
    2727 */ 
    2828 
    29 /* 
    30    The "body" styles should match your editor web site, mainly regarding 
    31    background color and font family and size. 
    32 */ 
     29/** 
     30 * The "body" styles should match your editor web site, mainly regarding 
     31 * background color and font family and size. 
     32 */ 
    3333 
    3434body 
    3535{ 
     
    5050        text-decoration: -moz-anchor-decoration;        /* For Firefox 3, otherwise no underline will be used */ 
    5151} 
    5252 
    53 /* 
    54         Just uncomment the following block if you want to avoid spaces between 
    55         paragraphs. Remember to apply the same style in your output front end page. 
    56 */ 
     53/** 
     54 * Just uncomment the following block if you want to avoid spaces between 
     55 * paragraphs. Remember to apply the same style in your output front end page. 
     56 */ 
    5757 
    5858/* 
    5959p, ul, li 
     
    6363} 
    6464*/ 
    6565 
     66/** 
     67 * Uncomment the following block, or only selected lines if appropriate, 
     68 * if you have some style items that would break the styles combo box. 
     69 * You can also write other CSS overrides inside the style block below 
     70 * as needed and they will be applied to inside the style combo only. 
     71 */ 
     72 
    6673/* 
    67     The following are some sample styles used in the "Styles" toolbar command. 
    68     You should instead remove them, and include the styles used by the site 
    69     you are using the editor in. 
     74.SC_Item *, .SC_ItemSelected * 
     75{ 
     76        margin: 0px !important; 
     77        padding: 0px !important; 
     78        text-indent: 0px !important; 
     79        clip: auto !important; 
     80        position: static !important; 
     81} 
    7082*/ 
    7183 
     84/** 
     85 * The following are some sample styles used in the "Styles" toolbar command. 
     86 * You should instead remove them, and include the styles used by the site 
     87 * you are using the editor in. 
     88 */ 
     89 
    7290.Bold 
    7391{ 
    7492        font-weight: bold;