Reputation: 540
The problem is next:
textarea
.font
.font
of the selection
.Note, that textarea's text is plain, there is no HTML
formatting inside it.
Upvotes: 0
Views: 133
Reputation: 393
A textarea will only render in the font the page specifies, so you could get the font using jQuery by doing something like:
var font = $("textarea").css("font-family");
However it sounds like you want to know the font that the text was in originally. Unfortunately that isn't possible as the font information is lost when pasting into the browser.
Upvotes: 1