> Enables importing of images from the clipboard into the RichTextModel by > adding a data format handler for the DataFormat.IMAGE mime type. > > This change includes fixes from https://github.com/openjdk/jfx/pull/2254 > applied to `ImgUtil` class whose purpose is to remove dependency on > `javafx.swing` module. > > Note: the banana slug image is a public domain added with author's permission > [0]. > > ## References > > [0] https://en.wikipedia.org/wiki/Banana_slug > > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits: - Merge branch 'master' into 8388276.import.images - copied from swing fx utils - Merge branch 'master' into 8388276.import.images - images - lossless - Merge branch 'master' into 8388276.import.images - whitespace - test - undo image paste - Merge remote-tracking branch 'origin/master' into 8388276.import.images - ... and 1 more: https://git.openjdk.org/jfx/compare/b9a34744...26767feb ------------- Changes: https://git.openjdk.org/jfx/pull/2224/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2224&range=02 Stats: 408 lines in 12 files changed: 333 ins; 1 del; 74 mod Patch: https://git.openjdk.org/jfx/pull/2224.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2224/head:pull/2224 PR: https://git.openjdk.org/jfx/pull/2224
