Unplanned
Last Updated: 19 Aug 2021 12:59 by Chinmaya
Chinmaya
Created on: 19 Aug 2021 12:59
Category: Editor
Type: Bug Report
0
Spelling correction leads to DOM change and incompatibility with the fontsize tool

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 ]
0 comments