Ticket #4481: 4481.patch

File 4481.patch, 1.5 KB (added by Alfonso Martínez de Lizarrondo, 15 years ago)

Proposed patch

  • _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( ':' ),
     37                                                        stylesSetPath = stylesSet[ 2 ] ? stylesSet[ 1 ] + ':' + stylesSet[ 2 ]
     38                                                                                                                                                                                : stylesSet[ 1 ] || CKEDITOR.getUrl( pluginPath + 'styles/' + stylesSet[ 0 ] + '.js' ) ;
    3839
    3940                                                stylesSet = stylesSet[ 0 ];
    4041
  • 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