Changeset 7143


Ignore:
Timestamp:
07/20/2011 12:43:21 PM (3 years ago)
Author:
garry.yao
Message:

Align to new API changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/tests/tt/6642/1.js

    r7142 r7143  
    1616editor.type( Keys.CONTROL, 'a' ).type( Keys.CONTROL, 'c' ).type( Keys.END ).type( Keys.ARROW_LEFT, 5 ).type( Keys.CONTROL, 'v' ); 
    1717var expected = '<h1>hea</h1><h1>heading1</h1><h1>ding1</h1>'; 
    18 var actual = browser.cleanHtml( editor.runAtEditor( function() { return editor.getSnapshot(); } ) ).replace( /<br[^>]*>/ig, '' ); 
     18var actual = browser.cleanHtml( editor.runAtEditor( function() { return editor.getSnapshot(); } ), { lowerCase: 1 } ).replace( /<br[^>]*>/ig, '' ); 
    1919Assert.areEqual(expected, actual, "Editor output doesn't match." ); 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy