Wednesday, December 3, 2008

Clean MS Word formatting in typo3

Typo3 supports the cleaning of text pasted in the RTE form from a MS Word document.
Directives must be included in the TS Config of the homepage, like:
RTE.default.enableWordClean = 1
RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db

The right procedure to copy and paste text from MS Word file is:

  1. Copy the text from MS Word
  2. Paste into the Rich Text Editor form of typo3
  3. Clean the content with the cleaner plugin icon checking "MS Word formatting.

We tried many times and the text is cleaned at 90%/95%; sometimes dirty text remains on the top and can be selected and deleted easily.

0 comments: