Unplanned
Last Updated: 31 Oct 2018 08:07 by ADMIN
ADMIN
Petya
Created on: 01 Aug 2014 14:25
Category: RichTextBox
Type: Bug Report
0
RichTextBox: Local properties are not exported to HTML when style is applied over document element and StyleExportMode is Inline
Local properties are not exported to HTML when style is applied over document element (paragraphs, spans, tables) in case the HtmlExportSettings.StyleExportMode is set to Inline and HtmlExportSettings.StylesRepositoryExportMode is ExportStylesAsCssClasses (which is the default value).

Workaround: Set HtmlExportSettings.StylesRepositoryExportMode to DontExportStyles. This way properties are exported as local properties.

Steps to reproduce:

- Using the Styles dialog, create new "character" style.
- Apply the style over a span with a text.
- Set some local properties to the span - font size or fore color.
- Set HtmlExportSettings.StylesExportMode = StylesExportMode.Inline
- Set HtmlExportSettings.StyleRepositoryExportMode = StyleRepositoryExportMode.ExportStylesAsCssClasses
- Export to HTML.

Expected: Both style and local properties are exported.
Actual: Only the style will be exported.
0 comments