Thursday 10 July 2014

How to enable styles and markup styles in richtext field in List Sharepoint

To fix this problem you will have to change your field in the schema.xml like this
<Field ID="{XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX}"
Name="RichtextMenuEnabled"
DisplayName=" RichtextMenuEnabled "
Type="HTML"
         RichText="TRUE"
         RichTextMode="ThemeHtml" />

Or
Try this
Create your column with data type as: Full HTML content with formatting and constraints for publishing
Site Column
Create
Enter Name: MyColumn
Select  type as: "Full HTML content with formatting and constraints for publishing "
Ok
Now go to list, add "MyColumn", now insert one table, inside "MyColumn". Click on table, You will get Design tab in the ribbon.
You will see "Styles" option.