We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbfd310 commit d51baffCopy full SHA for d51baff
tests/core/editor/getextractselectedhtml.js
@@ -35,8 +35,7 @@ bender.test( {
35
36
editor.setMode( 'source', function() {
37
resume( function() {
38
- editor.getSelectedHtml();
39
- assert.isTrue( true, 'So far so good. Method "getSelectedHtml" shouldn\'t throw an error in a "source" mode.' );
+ assert.isNull( editor.getSelectedHtml() );
40
41
// Clean up after the test.
42
editor.setMode( 'wysiwyg', resume );
0 commit comments