Project

General

Profile

Actions

Bug #16468

closed

HTMLarea deletes <u>-Tags in IE6.0

Added by Juergen Kussmann over 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-08-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If i use <u>-Tags in IE6, HTMLarea deletes them after saving.

I use the following Page-TS-Configuration:

  1. Eigene CSS-Klassen in externer Datei definieren
    RTE.default.contentCSS = fileadmin/css/cbs_basic.css
  1. Texte aus MS Word werden gesaeubert
    RTE.default.enableWordClean = 1
  1. bei mozilla/firefox werden bei ENTER Paragraphen erzeugt (wie im IE)
    RTE.default.disableEnterParagraphs = 0
  1. use <span>-Tags instead of e.g. <font>-Tags (gilt für Mozilla/Firefox)
    RTE.default.useCSS = 1
  1. which buttons should be shown?
    RTE.default.showButtons = *
    RTE.default.hideButtons = fontstyle,fontsize,strikethrough,subscript,superscript,lefttoright,righttoleft,textcolor,bgcolor,textindicator,emoticon,acronym,inserttag,showhelp,about,user
  1. which Style-Items (the Button is called 'formatblock') shouldn't be used? (possible values are: H1,H2,H3,H4,H5,H6,P,PRE,ADRESS)
    RTE.default.hidePStyleItems = PRE, ADDRESS

RTE.default.hideTags = font, font (full)

  1. Definiert wann und wo welche CSS-Klassen benutzt werden dürfen
    RTE.default.showTagFreeClasses = 0
    RTE.default.classesCharacter = Code,Definition,Kommentar,Warnung,Zitat,Hell,Dunkel
    RTE.default.classesImage =
    RTE.default.classesAnchor =

#must be set for span classes !!!
RTE.config.tt_content.bodytext.proc.allowedClasses < RTE.default.classesCharacter
RTE.config.tt_news.bodytext.proc.allowedClasses < RTE.default.classesCharacter

  1. show Statusbar
    RTE.default.showStatusBar = 1
  1. Breite des RTE definieren (in Prozent oder Pixeln)
  2. Muster: TCEFORM.<table_name>.<column_name>.RTEfullScreenWidth = <breite>[%|px]
    TCEFORM.tt_content.bodytext.RTEfullScreenWidth = 100%
    TCEFORM.tt_news.bodytext.RTEfullScreenWidth = 100%

RTE.default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css

// LINES CONVERSION
dontConvBRtoParagraph = 1
// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr
// TAGS ALLOWED
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, tt, q, cite, abbr, acronym
// ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = align,class,style
// CONTENT TO RTE
HTMLparser_rte {
// TAGS ALLOWED
allowTags < RTE.default.proc.allowTags
// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 0
}
// CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {
// XHTML COMPLIANCE
xhtml_cleaning = 1
// CLEAN TAGS
noAttrib = b,i,u,strike,sub,sup,strong,em,quote,blockquote,cite,tt,br,center
tags.font.allowedAttribs = color,style
tags.hr.allowedAttribs = class
// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
// this don't work: why i can't use &lt;u&gt;-Tags in IE?!?
//tags.u.remap = strong
// Text-Ausrichtungen mit '<[p|div|span] [align|style]=xxx>' duerfen nicht geloescht werden (wird im IE benutzt)
tags.p.fixAttrib.align.unset >
tags.div.fixAttrib.align.unset >
tags.span.fixAttrib.style.unset >
// remove Tags which have no attributes
rmTagIfNoAttrib = span,div,font
#htmlSpecialChars = 1
}
}
(issue imported from #M4040)
Actions

Also available in: Atom PDF