-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
8u202
-
x86_64
-
windows_10
A DESCRIPTION OF THE PROBLEM :
STR:
0. set focus on any other element
1. load html
2. click on HTMLEditor
All buttons in ToolBars become inactive (even if them were active for same html)
I've used snipped below for for point #1:
{code}
Thread t = new Thread(() -> {
while(true) {
try {Thread.sleep(100);} catch (InterruptedException e) {}
Platform.runLater(() -> {editor.setHtmlText("<html dir=\"ltr\"><head></head><body contenteditable=\"true\"><p><br></p></body></html>");});
}
});
{code}
STR:
0. set focus on any other element
1. load html
2. click on HTMLEditor
All buttons in ToolBars become inactive (even if them were active for same html)
I've used snipped below for for point #1:
{code}
Thread t = new Thread(() -> {
while(true) {
try {Thread.sleep(100);} catch (InterruptedException e) {}
Platform.runLater(() -> {editor.setHtmlText("<html dir=\"ltr\"><head></head><body contenteditable=\"true\"><p><br></p></body></html>");});
}
});
{code}