Is there a way to copy text with styling such that it can be pasted (with styling) into other applications like word processors? If not, this would be a useful feature.
I had a look at style codecs, but they only appear to be used for copying styles in a way that RichTextFX can understand. For inline styles at least it seems like it should be fairly straightforward for a codec to put them into HTML format in the clipboard. In my case I also want support for style classes, which is more complicated, but I think it could be done if the stylesheets are passed to the codec. Any suggestions on how to do this?
Is there a way to copy text with styling such that it can be pasted (with styling) into other applications like word processors? If not, this would be a useful feature.
I had a look at style codecs, but they only appear to be used for copying styles in a way that RichTextFX can understand. For inline styles at least it seems like it should be fairly straightforward for a codec to put them into HTML format in the clipboard. In my case I also want support for style classes, which is more complicated, but I think it could be done if the stylesheets are passed to the codec. Any suggestions on how to do this?