Hi,
We're looking at using the RichTextBox control to generate HTML elements that will appear within a page (for example, to specify a rich text product specification that will appear as part of a product information page).
When HTML is exported from the control, it is exported with large quantities of header markup and additional tags that are unnecessary for our purposes. Unfortunately, since the styles are contained within the header section, simply stripping out this superfluous content is not possible without losing the text formatting.
Is it possible to configure the HTML provider to generate in-line styles so the formatting will remain consistent when used as part of any HTML document? Additionally, is it possible to avoid additional markup (such as the classing of paragraphs and spans) when no modifications are being made to the styles in order to avoid the quantity of text generated?
I have the feeling the control is simply unsuitable for our needs, but please let me know if anyone has a solution to this.
Thanks.
We're looking at using the RichTextBox control to generate HTML elements that will appear within a page (for example, to specify a rich text product specification that will appear as part of a product information page).
When HTML is exported from the control, it is exported with large quantities of header markup and additional tags that are unnecessary for our purposes. Unfortunately, since the styles are contained within the header section, simply stripping out this superfluous content is not possible without losing the text formatting.
Is it possible to configure the HTML provider to generate in-line styles so the formatting will remain consistent when used as part of any HTML document? Additionally, is it possible to avoid additional markup (such as the classing of paragraphs and spans) when no modifications are being made to the styles in order to avoid the quantity of text generated?
I have the feeling the control is simply unsuitable for our needs, but please let me know if anyone has a solution to this.
Thanks.