Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into t/ckeditor5-ui/262
Browse files Browse the repository at this point in the history
Internal: Aligned the UI to the latest API of the framework (see ckeditor/ckeditor5-ui#262).
  • Loading branch information
oskarwrobel committed Nov 2, 2017
2 parents a2a0300 + 42cddc0 commit 94d7660
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/editor/standardeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 94d7660

Please sign in to comment.