Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   HTMLArea, RTE, tinymce_rte и другие визуальные редакторы (http://forum.typo3.ru/forumdisplay.php?f=24)
-   -   Проблема с RTE и таблицами (http://forum.typo3.ru/showthread.php?t=422)

Valery Romanchev 23.02.2004 01:00

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



Часовой пояс GMT +4, время: 23:01.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot