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).

LGTM, works fine

-------------

Marked as reviewed by zelmidaoui (Committer).

PR Review: https://git.openjdk.org/jfx/pull/2341#pullrequestreview-5461532629

Reply via email to