Zum Inhalt springen

<span> geht verloren

Erstellt am 27. April 2006 · 3 Antworten · letzte Antwort am 15. August 2007

Tags: Frage

eintrachtemil ·

Servus,
habe Typo3 4.0 und HTMLArea 1.3.7. Folgende Page-TS sind gesetzt:

RTE.default {
  enableWordClean = 1
  removeTrailingBR = 1
  removeComments = 1
  showButtons = *
  proc {
    allowTags = span,font,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, tbody, td, th, tr, tt, ul

    dontConvBRtoParagraph = 1

    allowTagsOutside = img,hr,span
    HTMLparser_rte {
      allowTags = span,font,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, tbody, td, th, tr, tt, ul
      removeComments = 1
      keepNonMatchedTags = 0
    }
  }
}

Im RTE sehe ich alle Buttons, doch wenn ich eine Schriftfarbe setze (<span style="color: rgb(153, 153, 51);">...</span>) fällt der <span>-Tag nach dem Speichern raus.

Könnte mir mal jemand verraten wieso das so ist? Unter "allowTags" ist <span> doch enthalten?

Fritz the Cat ·

Ich habe zumindest herausgefunden, daß dieses Problem nur mit dem IE auftritt und nichts mit deinem Page TSconfig-Script zu tun hat. Im Mozilla zum Beispiel speichert er das span-Tag korrekt, ob mit oder ohne eigenem Page TSconfig-Script. Hast Du inzwischen eine Lösung gefunden?

sventb ·

Habe das gleiche Problem - im Firefox gehts, im IE nicht.

Schade, seit über Jahr gibts den Fehler und noch immer keine Lösung??

tueselbert ·

Ich habe das gleiche mit <div> die gehen auch beim speichern verloren, auch im Firefox.
Habe bisher auch keine Lösung gefunden woran das liegt.
grüße
jens