[Typo3] configure RTE for extension

Daniel Tyssen Dani.Tyssen at optimaize.com
Wed Nov 2 16:17:05 CET 2005


hello, 

i would like to limit the pasting of word into the rte. it should still
be allowed, but for example font tags should be removed. 

i found an example in ext/mininews/ext_localconf.php and a different way
of doing it in sysext/css_styled_content/pageTSconfig.txt.

whatever i do all i get is a crashing browser (ie) as soon as i click
into the rte. (a not responding browser which is hard to shut down, in
the meantime no windows application can be activated)

here is my config:

in ext_typoscript_setup.txt or pageTSconfig.txt:

RTE.config.tx_jobs_records.myfield.proc {
  allowedClasses = 
	denyTags = font
}

in ext_localconf.php:

t3lib_extMgm::addPageTSConfig('
	# ***************************************************************************************
	# CONFIGURATION of RTE in table "tx_jobs_records", field "myfield"
	# ***************************************************************************************
RTE.config.tx_jobs_records.myfield {
  proc {
	  allowedClasses = 
		denyTags       = font
  }
}
');

dani




More information about the TYPO3-english mailing list