Hi,
I am not sure if this is possible or may I should use javascript (jquery)…
I have a form, integrated with MCE editor, and so whatever you type in, it will produce html tags, such as,
<p>this is a sample paragraph 1.</p>
<p>this is a sample paragraph 2.</p>
<p>this is a sample paragraph 3 with a <a href=“www.link.com”>link</a></p>
but I want to embed the css style into these tags when you submit it, so it will output:
<p style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color: #000000; ">this is a sample paragraph 1.</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color: #000000; ">this is a sample paragraph 2.</p>
<p style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color: #000000; ">this is a sample paragraph 3 with a <a href=“www.link.com” style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; color: #000000; ">link</a></p>
is it possible?
Many thanks!
Lau