Skip to content

Clicking toolbar button submits form #1

@jonathan-grumke

Description

@jonathan-grumke

Hi Sameer,

first of all, I really like your rte.

I noticed that when you use the rte inside a html form the form gets submitted when you click one of the rte's toolbar buttons. That's because the default button type is "submit". A simple solution would be to add type="button" to the toolbar buttons.

If you want I can open a pull request.

Thanks
Jonathan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions