-
Bug
-
Resolution: Fixed
-
P4
-
7u40, 8
The code below gives this output with FX 2.2.40 b33 as well as with FX 8 b98:
<html><body></body></html>
<html><head></head><body></body></html>
final HTMLEditor editor = new HTMLEditor();
System.out.println(editor.getHtmlText());
Platform.runLater(new Runnable() {
@Override
public void run() {
System.out.println(editor.getHtmlText());
}
});
I get this on a recent Dell laptop (core i5) running Win 7.
If you using SceneBuilder 1.1 b29, drop an HTMLEditor then Duplicate it the htmlText property value reads initially:
<html><head></head><body></body></html>
then if you select something else and reselect the HTMLEditor it reads:
<html><head></head><body contenteditable="true"></body></html>
<html><body></body></html>
<html><head></head><body></body></html>
final HTMLEditor editor = new HTMLEditor();
System.out.println(editor.getHtmlText());
Platform.runLater(new Runnable() {
@Override
public void run() {
System.out.println(editor.getHtmlText());
}
});
I get this on a recent Dell laptop (core i5) running Win 7.
If you using SceneBuilder 1.1 b29, drop an HTMLEditor then Duplicate it the htmlText property value reads initially:
<html><head></head><body></body></html>
then if you select something else and reselect the HTMLEditor it reads:
<html><head></head><body contenteditable="true"></body></html>