When the editor is put withing HTML5 form tag clicking on a button in editor's menu submits the form.
This is because the type attribute is missing here and according to the HTML5 button specification:
The missing value default is the Submit Button state.
All is needed to fix is to add the type attribute.
When the editor is put withing HTML5
form
tag clicking on a button in editor's menu submits the form. This is because thetype
attribute is missing here and according to the HTML5 button specification:All is needed to fix is to add the
type
attribute.