friendofsvelte / tipex

An goto sytled text editor for SvelteKit; based on TipTap; tipex
https://tipex.pages.dev/
61 stars 1 forks source link

Control buttons should have type="button" attribute #16

Closed paulando closed 6 months ago

paulando commented 7 months ago

I used this text editor component inside <form on:submit|preventDefault={handleFormSubmit}> element and on every editor's button click it automatically submits form. Adding type="button" attribute on every button inside component should fix issue.

Bishwas-py commented 7 months ago

I believe it was the old version, the new one already has type="button".

Bishwas-py commented 6 months ago

Closing it for now. Please feel free to restart or mention or reopen this issue.

xxcheckmatexx commented 2 months ago

@Bishwas-py i do not see the button type="button" even on the demo page https://tipex.pages.dev/