Issue Bug Closed

#16434RTE config is not supported by HTMLArea RTE

Dmitry Dulepov 08/06/06, 11:40 updated 03/19/08, 02:55

Description

The following TSConfig worked properly in the old RTE but does not work at all in new RTE. This config is made in accordance with TYPO3 documentation, so HTMLArea RTE is incompatible with core documentation.

RTE.classes {
  bodytext {
   name = Parasts teksts
   value = text-align: justify; padding: 0 5px 5px 5px; margin: 0 0; font-size: 12px; font-family: Tahoma,Arial;
  }
  autors {
   name = Autors
   value = font-style: italic; text-align: right; padding: 0 5px 5px 5px; margin: 0 0; font-size: 12px; font-family: Tahoma,Arial;
  }
}
RTE.default {
    classesParagraph = bodytext, autors
    hidePStyleItems = H6, P, PRE
    disableEnterParagraphs = 1
    enableWordClean = 1
    proc.internalizeFontTags = 0

    mainStyleOverride (
        P { text-align: justify; padding: 0 5px 5px 5px; margin: 0 0; font-size: 12px; font-family: Tahoma,Arial; }
        H1 { text-align: left; font-size: 20px; font-weight: bold; margin: 5px 0 7px 5px; font-family: Arial; }
        H2 { text-align: left; font-size: 18px; font-weight: bold; margin: 5px 0 7px 5px; font-family: Tahoma,Arial;}
        H3 { text-align: left; font-size: 16px; font-weight: bold; margin: 5px 0 7px 5px; font-family: Tahoma,Arial;}
        H4 { text-align: left; font-size: 14px; font-weight: bold; margin: 5px 0 7px 5px; font-family: Tahoma,Arial;}
        H5 { text-align: left; font-size: 12px; font-weight: bold; margin: 5px 0 7px 5px; font-family: Tahoma,Arial;}
        A { color: #6D6D6D; font-family: Tahoma,Arial; }
    )
  hideFontSizes = *
  hideFontFaces = *
  disableColorPicker = 1
  hideButtons = fontsize,textcolor,bgcolor,emoticons,fontstyle,left,center,right,image
}
RTE.config.tt_content.bodytext.proc {
  allowedClasses=H1, H2, H3, P, bodytext, autors
  denyTags=font, size, style
}

(issue imported from #M3983)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.