froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.3k stars 673 forks source link

Froala forgets the font family sometimes #3607

Open bjornri opened 5 years ago

bjornri commented 5 years ago
Expected behavior.

Froala should use the selected font.

Actual behavior.

Froala uses the default font.

Steps to reproduce the problem.

Using this fiddle: https://jsfiddle.net/uvr6dash/

  1. Choose the font 'Verdana'
  2. Create a sentence 'Test1.' in the first row and check that the font is 'Verdana"
  3. Press enter twice
  4. Create a sentence 'Test2'
  5. Move up to the blank line
  6. Create a sentence 'Test3'. The font is no longer 'Verdana'.

Please see attached recording of the problem.

Editor version.

3.0.4

OS.

Windows 10

Browser.

Firefox 68.0.1 Chrome 76.0.3809.100 IE 11 Microsoft Edge 44.18362.267.0

Recording.

froala-font-bug.zip

Rui90 commented 5 years ago

anyone already found the problem? I'm having the exacly same problem on edge :D

basically I set my default font as time news roman, if I open the dropdown it's selected something else, and when I click on the editor text field it changes my language to the one that is selected on the dropdown

Harmandeep-deligence commented 1 year ago

same issue, i set my default font , click on the editor , write something and it takes the font family of the existing text