Rich Text Editor Styles on Publishing Pages: PrefixStyleSheet

In Chapter 15 you found out how to reference CSS in page layouts and also read about the various properties associated with the rich HTML field in page layouts, including restriction of editing properties. In addition, rich HTML fields include a property named PrefixStyleSheet, which, by default, is set to ms-rte (see Figure 16.74). Rather than have page layouts use the default rich text editor style, you can create a different prefix. For instance, if you create multiple page layouts categorized by department, you might choose to prefix the ribbon styles associated with each set of page layouts with the departmental title or name. The main advantage of creating a custom PrefixStyleSheet ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.