---
title: "Eigner Textstil im htmlarea (typo3 6.2) - keine Auswahl bei Textstil"
url: "https://www.typo3.net/d/120469-eigner-textstil-im-htmlarea-typo3-62-keine-auswahl-bei-textstil"
source: "typo3.net"
tags: ["Backend","RTE & CKEditor","Frage","TYPO3 6"]
created: "2015-07-04"
last_reply: "2015-07-04"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Eigner Textstil im htmlarea (typo3 6.2) - keine Auswahl bei Textstil

Backend › RTE & CKEditor · 0 Antworten · gestartet 2015-07-04

## Eröffnungsbeitrag

**weiti-ms** · 2015-07-04 · [Beitrag #1](https://www.typo3.net/d/120469-eigner-textstil-im-htmlarea-typo3-62-keine-auswahl-bei-textstil/1)

Ich versuche verzweifelt einen eigenen Textstil (rot als span) im htmlarea einzugeben (definieren):
Beim Blockstil kann ich "zentriert" und hinweis1" auswählen, aber mir wird kein Textstil angezeigt, obwohl ich es eingetragen habe. Das Auswahlfeld bleibt ausgegraut. Ich habe keine Ahnung warum. Kann jemand helfen?
Wenn ich den <span class"rot"> im Quelltext eingebe, wird er abgespeichert.

Seiten-TSconfig:

RTE.default {
  contentCSS = fileadmin/projekt/tmpl/rte.css
  showTagFreeClasses=1
  classesCharacter := addToList(rot)
  classesParagraph := addToList(hinweis1,zentriert)
classesTable =
classesTD =
  classesAnchor = internal-link
  defaultLinkTarget = _top
classesImage:=
  proc {
    allowedClasses := addToList(rot, hinweis1, zentriert)
    denyTags < RTE.default.buttons.inserttag.denyTags
  }
  FE {
    proc  {
      allowedClasses < RTE.default.proc.allowedClasses
    }
  }
}

rte.css:

span.rot{color: #b10919;}
p.hinweis1{background-color: #4b4b4b;color: #ffffff; margin: 0 30px;}
p.zentriert{text-align:center;}

---

Quelle: „Eigner Textstil im htmlarea (typo3 6.2) - keine Auswahl bei Textstil“, typo3.net, https://www.typo3.net/d/120469-eigner-textstil-im-htmlarea-typo3-62-keine-auswahl-bei-textstil
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
