Project

General

Profile

Actions

Bug #29064

closed

Incorect behaviour in Block Style in RTE

Added by Orish Shrestha over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2011-08-17
Due date:
% Done:

0%

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

Description

I have implemented two table custom classes(classA and classB) for RTE and
they are working great if used one at a time. They are getting displayed in
Block Style dropdown and I can use them while editing article and the css is applied
fine in the frontend. However, I have problem when I use the two classes
simultaneously without removing the first one. ie. if I use classA and then
use classB without removing classA first, I am even unable
revert the changes without going in the Source mode and remove one of the
class. But the strange thing is if I do reverse, ie. use classB and then
classA, I could atleast remove classA and then classB using the option
Remove Block Style from the dropdown.

I am using FF 3.6.18 as browser and TYPO3 4.4.6.

TS I used is as follow:

RTE.classes {
classA {
name = LLL:fileadmin/xml/rtehtmlarea_locallang.xml:classA
value = float : left;
}
classB {
name = LLL:fileadmin/xml/rtehtmlarea_locallang.xml:classB
value = float : right;
}
}

RTE.default {
contentCSS = fileadmin/css/content.css
proc.allowedClasses (
classA, classB
)
classesTable = classA,classB
}

In content.css I have
.classA{
float : left;
}

.classB{
float : right;
}


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #27801: RTE: Change of block style does not remove previous block stylesClosedStanislas Rolland2011-07-01

Actions
Actions

Also available in: Atom PDF