Zum Inhalt springen

Individuelle Blockstyles im RTE in Typo3 4.5

Erstellt am 3. Mai 2011 · Noch keine Antworten

Tags: TYPO3 4, Frage

tomeccco ·

ich hab die inlinestyles mit diesem script bisher individuell angepasst:

RTE.classes {
  rotnormal {
    name = rotnormal
    value = color:#cc0000;font-weight:normal;
  }
  rotfett {
    name = rotfett
    value = color:#cc0000;font-weight:bold;
  }
  green{
  	name = green
	value = color:#2C934A;font-weight:bold;
  }
}
 
RTE.default {
  inlineStyle.rotnormal (
    span.rotnormal{
      color:#CC0000;font-weight:normal;
    }
  )
  inlineStyle.rotfett (
    span.rotfett{
      color:#CC0000;font-weight:bold;
    }
  )
  inlineStyle.green (
    span.green{
      color:#2C934A;font-weight:normal;
    }
  )
  ignoreMainStyleOverride = 0
  classesCharacter = rotnormal,rotfett,green
  proc.allowedClasses := addToList(rotnormal, rotfett, green)
}

nun möchte ich noch die blockstyles individuell festlegen.
bitte keine links zu anleitungen die ich nicht verstehe 😉 (viele hab ich zum thema schon gelesen. lieber den code nach obigem schema

danke und gruss, tomeccco