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.
The 'Bold' button is selected
The buttons in the Editor should not be selected when pressing Enter key in the external inputs.
Regression introduced with Kendo 2020.2.513
Hello,
Thank you for sharing an appropriate workaround for the problem in question. I am sure it will be helpful to the other users until the bug is being fixed.
I have prepared the Dojo example linked here to demonstrate the suggested workaround.
Regards,
Neli
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi!
I faced this problem too.
This happens because the editor buttons don't have the type="button" attribute.
I added this code and fixed the problem:
$('button:not([type])', editor.toolbar.element).each(function () {
$(this).prop('type', 'button');
});