Ticket #4481: 4481_2.patch

File 4481_2.patch, 1.6 KB (added by Frederico Caldeira Knabben, 15 years ago)
  • _source/plugins/stylescombo/plugin.js

     
    3333                                        init : function()
    3434                                        {
    3535                                                var combo = this,
    36                                                         stylesSet = config.stylesCombo_stylesSet.split( ':', 2 ),
    37                                                         stylesSetPath = stylesSet[ 1 ] || CKEDITOR.getUrl( pluginPath + 'styles/' + stylesSet[ 0 ] + '.js' ) ;
     36                                                        stylesSet = config.stylesCombo_stylesSet.split( ':' );
    3837
     38                                                var stylesSetPath = stylesSet[ 1 ] ?
     39                                                                stylesSet.slice( 1 ).join( ':' ) :              // #4481
     40                                                                CKEDITOR.getUrl( pluginPath + 'styles/' + stylesSet[ 0 ] + '.js' ) ;
     41
    3942                                                stylesSet = stylesSet[ 0 ];
    4043
    4144                                                CKEDITOR.loadStylesSet( stylesSet, stylesSetPath, function( stylesDefinitions )
  • CHANGES.html

     
    7171                <li><a href="http://dev.fckeditor.net/ticket/4385">#4385</a> : Fixed editor's auto adjusting on DOM structure were confusing the dirty checking mechanism.</li>
    7272                <li><a href="http://dev.fckeditor.net/ticket/4397">#4397</a> : Fixed regression of [3816] where turn on design mode is causing Firefox3 to scroll the host page.</li>
    7373                <li><a href="http://dev.fckeditor.net/ticket/4254">#4254</a> : Added basic API sample.</li>
     74                <li><a href="http://dev.fckeditor.net/ticket/4481">#4481</a> : The 'stylesCombo_stylesSet' configuration entry didn't work for full URLs.</li>
    7475        </ul>
    7576        <h3>
    7677                CKEditor 3.0</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy