tutanota icon indicating copy to clipboard operation
tutanota copied to clipboard

Fix turning off preformatted text applying a different style than default in the editor

Open paw-hub opened this issue 1 year ago • 0 comments

Passing null to setFontFace will remove the font-face attribute in the editor. Therefore, if we do this for turning off preformatted text, it will remove the preformatted text.

Before, we were setting to sans-serif which is generally a different font than the default font for the editor.

Fixes #4103

paw-hub avatar Aug 05 '22 14:08 paw-hub