Skip to content

When the Editor is in a form and the Enter key is pressed the first button in the Editor`s toolbar is selected #6438

@nelito987

Description

@nelito987

Bug report

When the Editor is in a <form> that also has inputs and the Enter key is pressed in the input fields, the first button in the Editor`s toolbar is selected.

Comes from https://github.com/telerik/kendo/commit/ee7ec172029f2da5faf7fffd2a24d7f95c2b1d73#diff-532229c99c5645b7446dee6e30fa2ded5995fd837ecb6089bd4e0be68a6563e5

Reproduction of the problem

  1. Open the Dojo example
  2. Click in one of the inputs and press Enter

Current behavior

The 'Bold' button is selected

Expected/desired behavior

The buttons in the Editor should not be selected when pressing Enter key in the external inputs.

Regression introduced with Kendo 2020.2.513

Environment

  • Kendo UI version: 2021.2.511
  • Browser: [all ]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions