[TYPO3-UG Dutch] htmlArea en Typo3 v4.0 sloopt <font> tag er uit

Kevin Renskers info at dualdot.nl
Thu Apr 20 16:03:14 CEST 2006


> Iemand een idee?

Een van onze klanten wilde ook voorgrond- en achtergrond kleutjes kunnen 
instellen, en het gaat bij ons wel goed.

In de PageTS (op de rootpage):

RTE.default {
	contentCSS =
	allowTags (
		a, abbr, acronym, address, blockquote, b, br, caption, cite, code, 
div, em, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, 
sdfield, span, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, 
tt, ul, center, font, strike, u
	)

	# Markup options (htmlArea RTE only)
	enableWordClean = 1
	removeTrailingBR = 0
	removeComments = 1
	removeTags =
	removeTagsAndContents =
	ignoreMainStyleOverride = 1
	useCSS = 1

	# Show all applicable class selectors available in the style sheet file 
(htmlArea RTE only)
	showTagFreeClasses = 1

	# Match these items to "TCEFORM.tt_content.header_layout.removeItems" list
	# below
	hidePStyleItems = address

	disablePCexamples = 1

	proc {
		dontConvBRtoParagraph = 1
		keepPDIVattribs = align,class,style,id,xml:lang
	 	allowTags < RTE.default.allowTags
		allowedClasses =
		removeTags < RTE.default.removeTags
		removeTagsAndContents < RTE.default.removeTagsAndContents

		entryHTMLparser_db {
			keepPDIVattribs = < RTE.default.proc.keepPDIVattribs
			allowTags < RTE.default.allowTags
			removeTags < RTE.default.removeTags
			removeTagsAndContents < RTE.default.removeTagsAndContents

			tags >
			tags {
				br.allowedAttribs = class, style, clear
			}
		}

		HTMLparser_db {
			# Strip all attributes from these tags
			noAttrib =
		}
	}
}

# Remove link images
RTE.classesAnchor >
RTE.classes >

mod.xMOD_alt_doc {
	disableDocSelector = 1
	disableCacheSelector = 1
}

TCEFORM.pages {
	layout.disabled = 1
	lastUpdated.disabled = 1
	newUntil.disabled = 1

	no_cache.disabled = 0
	cache_timeout.disabled = 1
	
	abstract.disabled = 1
	keywords.disabled = 1
	author.disabled = 1
	email.disabled = 1
	description.disabled = 1

	fe_login_mode.disabled = 1
	module.disabled = 0
}

TCEFORM.tt_content {
	header_layout.altLabels.1 = Heading 1
	header_layout.altLabels.2 = Heading 2
	header_layout.altLabels.3 = Heading 3
	header_layout.altLabels.4 = Heading 4
	header_layout.altLabels.5 = Heading 5
	
	header_layout.removeItems = 100
	header_layout.addItems.6 = Heading 6
	header_layout.addItems.99 = Hidden

	CType.removeItems = bullets,login,upload,div,splash

	sys_language_uid.disabled = 1
	colPos.disabled = 0
	spaceBefore.disabled = 1
	spaceAfter.disabled = 1
	section_frame.disabled = 0
}


En dan in de UserTS:

options.RTEkeyList = bold, italic, underline, removeformat, left, 
center, right, orderedlist, unorderedlist, insertcharacter, link, image, 
copy, paste, chMode, undo, redo, spellcheck, textcolor, fontstyle, fontsize



More information about the TYPO3-UG-dutch mailing list