Declined
Last Updated: 25 Jan 2022 14:28 by ADMIN

Correcting a misspelled word with some fontsize decoration results in Chrome changing the DOM element to font tag and style to face attribute.

This leads to the font tool not recognizing the font size and shows inaccurate value.

Reproduction of the problem

https://demos.telerik.com/kendo-ui/editor/all-tools

  1. Delete all content
  2. Type 'Heloo' and change its font size
  3. Correct the misspelled word.

Current behavior

Dom is changed to font tag with size attribute. And the font tool not showing the correct font size.

Expected/desired behavior

Either the Editor to retain or bring back the proper tag and style. Or update the font size to recognize the font size from font tag and size attribute

Environment

  • Browser: [ Chrome 92.0.4515.15 ]
Declined
Last Updated: 20 Dec 2019 12:13 by ADMIN
When I resize the window I get so now and then the above issue. Please add a check whether "window" is undefined or not.

It is at line number 70738 in de kendo.all.js of version 2018.2.620
Declined
Last Updated: 07 Aug 2019 08:25 by ADMIN
Created by: Dmitry
Comments: 1
Category: Editor
Type: Bug Report
0

Bug report

The fontSize tool gets focus after text selection. 

Steps to reproduce

* Open and run https://dojo.telerik.com/oRuLayir demo.

* Select /highlight Line4, choose 16 in the fontSize dropdown.

* Put the cursor at the end of Line6, select  Line4, Line5 and Line6 using the mouse. Note that the keyboard focus has shifted to the fontSize dropdown.