When pasting a formatted text copied from MS Word into textarea
, it will paste plain text by ignoring all markups. I am looking for a JavaScript (and preferedly jQuery) method to convert some formatting markups to HTML tags.
For example, pasting <b>Text which was bold in MS Word</b>