[Typo3] RTE - rtehtmlarea striping SPAN tags

Taylor, Jeff JTaylor at venterinstitute.org
Wed Feb 2 21:41:30 CET 2005


Greetings,

I am having a problem with rtehtmlarea.  When editing a content element
with the RTE and trying to apply custom styles it displays properly, but
upon saving the page it reloads the RTE with all SPAN tags missing.
(the class's work properly when attached to a P tag.  Disabling the rich
text editor and pasting in the same code works as expected. 


This may be related to the recent thread: RTE & Classes, but seems
different enough that I thought it justified a new thread. 


I am using the latest version of rtehtmlarea (v 0.4.32) with "enable all
editor options" turned on. All of this relates to using RTE in the BE,
not the FE


The following lines are from the default PAGE TSconfig:

  RTE.default.contentCSS = files/template/main/css/htmlareaRTE.css
  RTE.default.classesCharacter = pressrelease_description,
pressrelease_date
  RTE.default.enableWordClean = 0
  RTE.config.tt_content.bodytext.showButtons = *
(Without the above line, all of the buttons do not display in the RTE,
even with "enable all editor options" checked in the extension manager)


The following is from my default template:

  page = PAGE
  page.typeNum = 0
  page.config.doctype = xhtml_trans
  page.config.index_enable = 1
  page.config.index_externals = 1
  page.10 = USER
  page.10.userFunc = tx_templavoila_pi1->main_page


I have not made any modifications to localconf.php 

I have searched all of the mailing list, read through the
"transformations" section of the CORE API (is that outdated??) and even
checked on the htmlarea.com site.  I can't find anything related to this
p typo3-english at lists.netfielders.deroblem.

Attached at the bottom is the INFO from the root page.

Thanks. 

.jeff.



RTE - 
[config]
	[tt_content]
		[bodytext]
			[showButtons]=*
			[proc]
				[overruleMode]=ts_css
				[allowedClasses]=_
				[entryHTMLparser_db]=1
					[keepNonMatchedTags]=1
					[xhtml_cleaning]=1
[default]
	[contentCSS]=files/template/main/css/htmlareaRTE.css
	[enableWordClean]=0
	[useCSS]=1
	[defaultLinkTarget]=
	[showStatusBar]=1
	[showButtons]=*
	[hideButtons]=
	[disableContextMenu]=0
	[disableColorSelect]=0
	[disableTYPO3Browsers]=0
	[disableEnterParagraphs]=0
	[hidePStyleItems]=
	[hideFontSizes]=
	[hideTags]=font, font (full)
	[disableColorPicker]=0
	[classesCharacter]=pressrelease_description, pressrelease_date
	[proc]
		[overruleMode]=ts_css
		[dontConvBRtoParagraph]=1
		[internalizeFontTags]=1
		[allowTagsOutside]=img,hr
		[allowTagsInTypolists]=br,font,b,i,u,a,img,span
		[allowTags]=table, tbody, tr, th, td, h1, h2, h3, h4,
h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i,
u, sub, sup, strike, a, img, nobr, hr, center, font
		[keepPDIVattribs]=align,class,style
		[preserveTables]=1
		[HTMLparser_rte]
			[allowTags]=table, tbody, tr, th, td, h1, h2,
h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong,
em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font
			[keepNonMatchedTags]=1
		[HTMLparser_db]
			[allowTags]=table, tbody, tr, th, td, h1, h2,
h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong,
em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font
			[keepNonMatchedTags]=1
	[HTMLAreaPluginList]=SpellChecker, ContextMenu, InsertSmiley,
FindReplace
	[HTMLAreaPspellMode]=normal



More information about the TYPO3-english mailing list