This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
JDK-8230231 : font-family not updated in HTMLEditor #573
Comments
I think I have found the problem, it's coming from the HTMLEditorShuttleSkin in updateToolbarState method. We have this :
But it seems that the font are not surrounded by single quotes, but by double-quotes. At least on My Windows 10.
Seems that this issue could be reproduced in the latest version since the code has not changed : openjdk-jfx/modules/javafx.web/src/main/java/javafx/scene/web/HTMLEditorSkin.java Line 968 in 662281e
|
I might recommend looking for either |
Should I go directly for a PR on this? |
Sure, that seems like a good idea. |
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the HTMLEditor, when positioning the caret in a text, the toolbar is updated to reflect the current position (font-size, bold button etc). The font-family is not updated if the font-family is composed of several words.
Steps to reproduce :
Actual behavior:
Expected behavior:
Reproduced on JDK 8u202, on Windows 10 and also on macOS High Sierra (version 10.13.6)
Issue on JDK bug tracking : https://bugs.openjdk.java.net/browse/JDK-8230231
The text was updated successfully, but these errors were encountered: