Project

General

Profile

Actions

Bug #16434

closed

RTE config is not supported by HTMLArea RTE

Added by Dmitry Dulepov almost 18 years ago. Updated about 16 years ago.

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

0%

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

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)

Actions

Also available in: Atom PDF