IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics
https://bit.ly/2kuu1fT
Other
477 stars 83 forks source link

[igHtmlEditor] The font family dropdown does not correctly reflect the font family of the selected text or that of the cursor position. #2089

Closed norikois closed 3 years ago

norikois commented 3 years ago

Description

[igHtemlEditor] The font family dropdown does not correctly reflect the font family of the selected text or that of the cursor position.

Steps to reproduce

  1. Open the attached sample file.
  2. Click on any place in the first line or select some or all of the text in the first line. -> See the box of the font family drop down.

Result

"Comic Sans MS" is displayed.

Expected result

"Impact" should be displayed because "Impact" is applied to this line.

Note

It seems that this issue is reproduced only (maybe...) when core.js, lob.js and infragistics.ui.htmleditor-ja,js are loaded and language is set as "ja". This is not reproduced when js files are loaded separately in the same way as in the sample of https://github.com/IgniteUI/ignite-ui/issues/2087.

Attachments

Attach a sample if available, and screenshots, if applicable.
CAS-33547-Sample3.zip