link-autocomplete icon indicating copy to clipboard operation
link-autocomplete copied to clipboard

fix: set the button type to 'button'

Open ruancodeco opened this issue 5 months ago • 0 comments

When the EditorJS is part of a form, because the button for adding a link does not have a button type, it defaults to 'submit', which then submits the form and prevents you from actually adding the link.

Adding the button type of 'button' solves that issue

ruancodeco avatar Jul 09 '25 06:07 ruancodeco