diff --git a/_test/core/Editor.js b/_test/core/Editor.js index 2aab4e7a3a067da467b14f2d563a20bfe24c52b9..24bf4fe06fc7c72fa60d00e616654edaef3aca0f 100644 --- a/_test/core/Editor.js +++ b/_test/core/Editor.js @@ -71,7 +71,7 @@ test( "render-- element", function() { equal( div.innerHTML, "", "before render" ); editor.render( div ); equal( div.firstChild.tagName.toLocaleLowerCase(), 'iframe', 'check iframe' ); - ok( /baidu_editor_/.test( div.firstChild.id ), 'check iframe id' ); + ok( /ueditor_/.test( div.firstChild.id ), 'check iframe id' ); te.dom.push( div ); } ); @@ -80,7 +80,7 @@ test( "render-- elementid", function() { var div = te.dom[0]; editor.render( div.id ); equal( div.firstChild.tagName.toLocaleLowerCase(), 'iframe', 'check iframe' ); - ok( /baidu_editor_/.test( div.firstChild.id ), 'check iframe id' ); + ok( /ueditor_/.test( div.firstChild.id ), 'check iframe id' ); } ); test( "render-- options", function() {