Login

Switching to strict HTML filter for the Office Add-In

Versions: 4.40.0.136, FAQ number: 125, Old FAQ number: 2704

Q: How do I switch to the strict HTML filter for the Office Add-In?

A: You need to add the the configuration block to web.config in order to change the behavior of the Office Add-In.

The following is the default configuration but with a small change that uses the Strict filter instead:

  <configSections>
    <sectionGroup name="episerver">
      <section name="clientTools" allowDefinition="MachineToApplication" allowLocation="false" type="EPiServer.ClientTools.ConfigurationHandler,EPiServer" />
    </sectionGroup>
  </configSections>
  <episerver>
    <clientTools>
      <filters>
        <filter pageTypes="*" extensions="*" src="Util/HtmlFilters/WordHtmlStrict.config" />
      </filters>
      <wizards>
        <wizard pageTypes="*" extensions="*" src="Util/ClientTools/Wizard/Default.config" />
      </wizards>
      <scripts>
        <script pageTypes="*" extensions="doc" src="Util/ClientTools/Components/EPiServer.Word.wsc" />
        <script pageTypes="*" extensions="xls" src="Util/ClientTools/Components/EPiServer.Excel.wsc" />
        <script pageTypes="*" extensions="ppt" src="Util/ClientTools/Components/EPiServer.PowerPoint.wsc" />
      </scripts>
    </clientTools>

EPiTrace logger