Changeset 35306 for trunk/tests/qunit/editor/tinymce/EnterKey.js
- Timestamp:
- 10/20/2015 10:05:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/qunit/editor/tinymce/EnterKey.js
r33981 r35306 65 65 }); 66 66 67 test('Enter before first wrapped IMG in P', function() { 68 editor.setContent('<p><b><img alt="" src="about:blank" /></b></p>'); 69 editor.selection.setCursorLocation(editor.getBody().firstChild.firstChild, 0); 70 Utils.pressEnter(); 71 equal(editor.getBody().firstChild.innerHTML, (tinymce.isIE && tinymce.Env.ie < 11) ? '' : '<br data-mce-bogus="1">'); 72 equal(editor.getContent(), '<p>\u00a0</p><p><b><img src=\"about:blank\" alt=\"\" /></b></p>'); 73 }); 74 67 75 test('Enter before last IMG in P with text', function() { 68 76 editor.setContent('<p>abc<img alt="" src="about:blank" /></p>');
Note: See TracChangeset
for help on using the changeset viewer.