So I found a solution to my problem. I only wanted to paste plain text into my JEditorPane. When you set the Content Type of the JEditorPane to "text/html" to display html code, copying from a website and pasting to the JEditorPane will add on extra html content that I didnt want (like Rich Text formatted stuff). That is why I was searching for a way to just paste plain text.
I used this TextTransferHandler to do so.