Html that contains inherited style

2 posts, 0 answers
  1. Marcin
    Marcin avatar
    172 posts
    Member since:
    Jan 2011

    Posted 11 Jul 2014 Link to this post

    I'm looking for an option to get html that is containing also inherited style. Currently if I won't specify e.g. font or font size directly, these values are not stored in html, so when html is opened somewhere else - e.g. in email it looks differently than in editor, which is unacceptable. I want to have html that is always looking the same in any place I open it. Even if external css is not embedded.

    Is there any way to get such html? Or to force not use inherited style and always some default to have that result.

  2. Alex Gyoshev
    Alex Gyoshev avatar
    2515 posts

    Posted 14 Jul 2014 Link to this post

    Hello Marcin,

    The editor does not support this behavior at this time. In order to embed the CSS within style attributes of the HTML, you need to post-process the HTML generated by the editor.

    Alex Gyoshev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top