Ticket #1980: 1980.patch

File 1980.patch, 1.7 kB (added by fredck, 4 months ago)
  • _whatsnew.html

     
    3939        <ul> 
    4040                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances 
    4141                        object can now be used to access all FCKeditor instances available in the page.</li> 
     42                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span 
     43                        style="color: #ff0000">Attention:</span> By default, the editor now produces &lt;strong&gt; 
     44                        and &lt;em&gt; instead of &lt;b&gt; and &lt;i&gt;.</li> 
    4245        </ul> 
    4346        <p> 
    4447                Fixed Bugs:</p> 
  • fckconfig.js

     
    204204FCKConfig.CoreStyles = 
    205205{ 
    206206        // Basic Inline Styles. 
    207         'Bold'                  : { Element : 'b', Overrides : 'strong' }, 
    208         'Italic'                : { Element : 'i', Overrides : 'em' }, 
     207        'Bold'                  : { Element : 'strong', Overrides : 'b' }, 
     208        'Italic'                : { Element : 'em', Overrides : 'i' }, 
    209209        'Underline'             : { Element : 'u' }, 
    210210        'StrikeThrough' : { Element : 'strike' }, 
    211211        'Subscript'             : { Element : 'sub' }, 
  • fckstyles.xml

     
    6868                <Style name="background-color" value="Lime" /> 
    6969        </Style> 
    7070 
    71         <Style name="Strong Emphasis" element="strong" /> 
    72         <Style name="Emphasis" element="em" /> 
    73  
    7471        <Style name="Big" element="big" /> 
    7572        <Style name="Small" element="small" /> 
    7673        <Style name="Typewriter" element="tt" />