Changeset 5943


Ignore:
Timestamp:
10/18/2010 09:16:54 AM (5 years ago)
Author:
paho
Message:

#6226: BIDI: Language direction applied to a Paragraph is removed when we apply one of Paragraph formatting options. Rename 'block' to more generic 'element'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/styles/plugin.js

    r5942 r5943  
    10841084        }
    10851085
    1086         function getElement( style, targetDocument, block )
     1086        function getElement( style, targetDocument, element )
    10871087        {
    10881088                var el;
     
    11001100               
    11011101                // #6226: attributes should be copied before the new ones are applied
    1102                 if ( block )
    1103                         block.copyAttributes( el );
     1102                if ( element )
     1103                        element.copyAttributes( el );
    11041104
    11051105                return setupElement( el, style );
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy