Project Description

Replace the native CssLink by this custom control for removing the OOTB RTE styles in a wiki page of SharePoint 2010 team site.
This custom control wraps the native one in order to remove the link to the OOTB corev4.css that remains in the wiki pages while using an alternate CSS or a defaultUrl.

This is a beta version because for now it is not recommended if you plan to use the SharePoint 2010 themes, and there is maybe a better approach for the code, but if you don't plan to use the themes you could use it as well.
It could also be a starting point for a team for developing a more complete version.

TODO: (by me or the team that will download the source code)

  1. removing the hardcoded reference to the LCID (1033) (very easy)
  2. letting the reference to the OOTB corev4.css if the defaulturl property is empty or if an Alternate CSS is not set...(easy)
  3. when a theme is applied, managing to use the custom corev4.css instead of the OOTB one...(much, much more difficult)


For a quick documentation regarding the use of this control you can read this section of one of my posts:

2.8 - Second limitation of the team site wiki page in SharePoint 2010: it is very difficult  to remove the OOTB RTE style

Last edited Nov 2, 2011 at 5:45 PM by Marc_Charmois, version 16