kaaaaaaaaaaai / editorjs-alignment-blocktune

54 stars 26 forks source link

Clicking on the block tune alignment tool submits the form #4

Closed michaelcais closed 2 years ago

michaelcais commented 3 years ago

When an Editor.js instance is inside a form, clicking on the block tune alignment tool submits the form. The block tune alignment tool uses the <button> tag but does not have a specified type as "button" so it defaults to "submit". Please add type="button" attribute to the tag.

Woloja commented 3 years ago

yep, iam too have this problem(

Kris-Simpson commented 3 years ago

have the same problem

kaaaaaaaaaaai commented 3 years ago

@michaelcais @Woloja @Kris-Simpson can u pull request?

Fatin-Shahriare-Sium commented 3 years ago

how to add type='button'?

brtchkv commented 2 years ago

Same here. Will it be fixed?

kaaaaaaaaaaai commented 2 years ago

thanku meeeeeeeeeeeeeeeeeeeeeeeeeeeens.

releaseed #5 v1.0.3