Răsfoiți Sursa

Merge branch 'master' into t/ckeditor5-ui/262

Internal: Aligned the UI to the latest API of the framework (see ckeditor/ckeditor5-ui#262).
Oskar Wróbel 8 ani în urmă
părinte
comite
978dbffd43
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      packages/ckeditor5-core/tests/editor/standardeditor.js

+ 3 - 0
packages/ckeditor5-core/tests/editor/standardeditor.js

@@ -345,6 +345,9 @@ describe( 'StandardEditor', () => {
 		} );
 
 		it( 'should not replace submit() method when one of the elements in a form is named "submit"', () => {
+			// Restore stub since we want to mask submit function with input with name="submit".
+			submitStub.restore();
+
 			const input = document.createElement( 'input' );
 			input.setAttribute( 'name', 'submit' );
 			form.appendChild( input );