Ticket #4552: 4552.patch

File 4552.patch, 790 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
    55
    6 CKEDITOR.plugins.add( 'floatpanel',
    7 {
    8         requires : [ 'panel' ]
    9 });
    10 
    116(function()
    127{
    13         var panels = {};
     8        var panels;
    149        var isShowing = false;
    1510
     11        CKEDITOR.plugins.add( 'floatpanel',
     12        {
     13                requires : [ 'panel' ],
     14                init : function ()
     15                {
     16                        panels = {};
     17                }
     18        });
     19
    1620        function getPanel( editor, doc, parentElement, definition, level )
    1721        {
    1822                // Generates the panel key: docId-eleId-skinName-langDir[-uiColor][-CSSs][-level]
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy