Показать сообщение отдельно
Старый 23.02.2004, 01:00   #11
Valery Romanchev
Administrator
 
Аватар для Valery Romanchev
 
Регистрация: 23.08.2003
Адрес: Moscow, Russia
Сообщений: 1,926
Отправить сообщение для Valery Romanchev с помощью Skype™
По умолчанию

Наверняка можно прикрутить 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

Valery Romanchev вне форума   Ответить с цитированием