Ticket #4467: 4467.patch

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

Patch based on george code.

  • _source/plugins/menu/plugin.js

     
    232232                                        this.parent._.panel.showAsChild( panel, this.id, offsetParent, corner, offsetX, offsetY );
    233233                                else
    234234                                        panel.showBlock( this.id, offsetParent, corner, offsetX, offsetY );
    235                                
     235
    236236                                editor.fire( 'menuShow', [ panel ] );
    237237                        },
    238238
     
    330330                                        ' onclick="CKEDITOR.tools.callFunction(', menu._.itemClickFn, ',', index, '); return false;"' +
    331331                                        '>' +
    332332                                                '<span class="cke_icon_wrapper"><span class="cke_icon"' +
    333                                                         ( this.icon ? ' style="background-image:url(' + CKEDITOR.getUrl( this.icon ) + ');background-position:0 ' + offset + 'px;"></span>'
     333                                                        ( this.icon ? ' style="background-image:url(' + CKEDITOR.getUrl( this.icon ) + ');background-position:0 ' + offset + 'px;"'
    334334                                                        : '' ) +
    335335                                                        '></span></span>' +
    336336                                                '<span class="cke_label">' );
  • 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/4467">#4467</a> : Fixed bug to use custom icon in context menus. Thanks to gergoe.</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