Can we inject style tag instead of class? There reason is PDF's with css styles steets are hard.
0
Dimo
Telerik team
answered on 19 Dec 2014, 08:31 AM
Hello Suresh,
I am afraid you can't inject <style> tags inside the Editor. The external stylesheets inside the Editor iframe are registered with <link> tags. You can use any CSS rules inside these stylesheets and you are not required to use custom CSS classes. If this will not work for you, then you can apply inline styles to DOM elements inside the Editor's body before exporting, using standard Javascript DOM manipulation techniques. The container element of the Editor's content is: