On Thu, 8 Oct 2026 18:28:36 GMT, Andy Goryachev <[email protected]> wrote:
> This came out of the code review > https://github.com/openjdk/jfx/pull/2302#issuecomment-6063971641 > > The RichEditorDemo uses image drop handler similar to that used in the Monkey > Tester. It is no surprise that I made the same mistake in not checking the > editable flag. One excuse I have is that in the demo it is possible neither > to toggle the editable property, nor have a read-only model. However, I > would like to make this change for the same of people who would include parts > of this project in their application. > > Tests were not added since it's a demo. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: dcab4594 Author: Andy Goryachev <[email protected]> URL: https://git.openjdk.org/jfx/commit/dcab45948eec0e9c1865f5e504e6898936e446f4 Stats: 15 lines in 1 file changed: 13 ins; 0 del; 2 mod 8393970: [RichEditorDemo] image drop ignores editable property Reviewed-by: zelmidaoui, kcr ------------- PR: https://git.openjdk.org/jfx/pull/2341
