hunghg255 / reactjs-tiptap-editor

A modern WYSIWYG rich text editor based on tiptap and shadcn ui for Reactjs
https://reactjs-tiptap-editor.vercel.app/
MIT License
207 stars 38 forks source link

Mark a text as link submits the form #99

Closed waleedsalah4 closed 2 weeks ago

waleedsalah4 commented 2 weeks ago

I am using the editor inside a form (using formik to manage the form), and trying to mark a text as link like this: image then hit the apply button it submits the form as its type is "submit" which isn't the desired behavior so how to fix this or disable this from submitting the entire form ??

hunghg255 commented 2 weeks ago

@waleedsalah4 thanks for feedback, I will check this later

kurian86 commented 2 weeks ago

The same thing happens with the 'Apply' button in the image extension when an image is added from a URL.