Наверняка можно прикрутить removeword.php
где-то в class.t3lib_parsehtml_proc.php ...
На след. неделе постараюсь поискать в каком месте.
Может быть, для чистки word, что можно и тайпоскриптом обойтись:
allowedClasses
list of strings
(Applies for \"ts_transform\" only (function divideIntoLines))
Direction: To DB
Allowed general classnames when content is stored in database. Could be a list matching the number of defined classes you have. Case-insensitive.
This might be a really good idea to do, because when pasting in content from MS word for instance there are a lot of <SPAN> and <P> tags which may have class-names in. So by setting a list of allowed classes, such foreign classnames are removed.
If a classname is not found in this list, the default is to remove the class-attribute.
http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=214&tx_extrepmgm_pi1[tocEl]=477&cHash=efe7cbc27b
|