Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RichHtmlField.AllowTextMarkup property

Gets or sets the constraint that allows explicit text markup tags, such as bold and italic, to be added to the HTML.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
[BrowsableAttribute(true)]
public bool AllowTextMarkup { get; set; }

Property value

Type: System.Boolean
When this flag is set to false, explicit text markup tags, such as bold and italic, are not allowed in the HTML.

If this flag is set to false, <B>, <EM>, <I>, <STRONG>, <S>, <STRIKE>, <TT>, <ABBR>, <ACRONYM>, <CITE>, <CODE>, <DEL>, <DFN>, <INS>, <SAMP>, <BDO>, <RT>, <RUBY>, <U>, <BIG>, <SMALL>, <SUB>, <SUP>, <PRE>, <PLAINTEXT>, <XMP>, <Q>, <LISTING>, <BLOCKQUOTE>, <NOBR> and <WBR> tags will removed from the HTML. Default is true. This property also determines whether the editing user interface (UI) enables these operations.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.