link-autocomplete
link-autocomplete copied to clipboard
fix: set the button type to 'button'
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