You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the ‘fontFamilyDefaultSelection’ option is set, the content of the editor document is wrapped in a DIV when the html.get() method is executed, which carries the alias name used in the style attribute instead of the font name. Equivalently, the alias name is entered in the default-styles-css if the ‘useClasses’ option is set.
The same problem occurs when using the ‘fontSizeDefaultSelection’ option in conjunction with the ‘fontSize’ plugin.
The error occurred for the first time in version 4.2.1.
If the ‘fontFamilyDefaultSelection’ option is set, the content of the editor document is wrapped in a DIV when the html.get() method is executed, which carries the alias name used in the style attribute instead of the font name. Equivalently, the alias name is entered in the default-styles-css if the ‘useClasses’ option is set.
Example:
Froala-Config:
Content of the editor document
<p>Test Paragraph</p>
myInstance.html.get() returns (alias "FontAlias1" is used insted of fontname):
The same problem occurs when using the ‘fontSizeDefaultSelection’ option in conjunction with the ‘fontSize’ plugin.
The error occurred for the first time in version 4.2.1.
See fiddle: https://jsfiddle.net/gpdt91a4/
The text was updated successfully, but these errors were encountered: