mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
057127f4de
When Enter is pressed in a form, the browser will find the first submittable element and trigger it. By default <button> elements have type set to 'submit' which causes them to be targetted by this behaviour. Adding `type="button"` prevents this behaviour. This change targets some main offenders - in particular the markdown toolbar. There are of lots of other `<button>` elements without this attribute set, so they need tidying up. Not currently aware of any others that exist in a <Form> so may be immune from this behaviour. |
||
---|---|---|
.. | ||
@node-red | ||
node-red |