Copying Plaintext OR Formatted Text to a JEditorPane and ActionMap
I have a JEditorPane with text/html and I want an Option to insert (via CTRL + V) text as plain text OR as formatted text. So far the default inserting is working with formatted text. Now I created a class that I can paste the text as plain text. Its mapped to CTRL+V.