Steps to reproduce:
1. Open the attached "RichTextArea_Demo.docx" file in Microsoft Word
2. In Word: "Select-All" then "Copy"
3. Launch the "RichEditor Demo": `ant run-richeditor-demo`
4. Click in the RichEditor Demo Window to get focus
5. Paste
BUG: The text will be pasted, but the formatting will be lost
See the attached screenshot.
This only happens with the RTF import. When copying the same text from the RichTextArea Demo (which I used as the original source to generate the .docx file), and paste it into the RichEditor Demo window, which uses an internal format, it works as expected.
1. Open the attached "RichTextArea_Demo.docx" file in Microsoft Word
2. In Word: "Select-All" then "Copy"
3. Launch the "RichEditor Demo": `ant run-richeditor-demo`
4. Click in the RichEditor Demo Window to get focus
5. Paste
BUG: The text will be pasted, but the formatting will be lost
See the attached screenshot.
This only happens with the RTF import. When copying the same text from the RichTextArea Demo (which I used as the original source to generate the .docx file), and paste it into the RichEditor Demo window, which uses an internal format, it works as expected.
- relates to
-
JDK-8351982 ☂ RichTextArea Incubator Bugs in jfx24
-
- Open
-
- links to
-
Review(master) openjdk/jfx/1735