kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

[Editor] Clicking on the ForeColor and BackColor tools reverts the font family and font size settings

Open georgi-sla opened this issue 1 year ago • 0 comments

Describe the bug Currently, when the user modifies the default font size and font family using the built-in toolbar tools and clicks(without selecting) on the two buttons modifying the color and the background color of the text, the font family and font size settings revert to their default values.

To Reproduce

  1. Create an Editor component.
  2. Implement the kendoEditorFontFamily, kendoEditorFontSize, kendoEditorForeColor, and kendoEditorBackColor tools.
  3. Modify the default font size and font family using the designated toolbar tools.
  4. Type some text in the Editor component.
  5. Click on either the kendoEditorForeColor or kendoEditorBackColor buttons. It is important only to click on the two buttons without opening their designated popups or making any selection.

Please, check out the following StackBlitz demo: https://stackblitz.com/edit/angular-2mtzav

Expected behavior Clicking on the two buttons should not revert the modified settings for the font size and font family.

Screenshots Please, check out the attached screen recording:

https://github.com/telerik/kendo-angular/assets/108671673/8537cdd6-24bf-4960-909d-1db8adfcf9a8

georgi-sla avatar Feb 08 '24 10:02 georgi-sla