Project

General

Profile

Actions

Bug #70213

closed

Classes for tables set in RTE are not rendered in FE

Added by Paolo Bragagni about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2015-09-30
Due date:
% Done:

0%

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

Description

RTE classes:

RTE {

// Explicit class names
classes {
table {
name = Base
}
table-striped {
name = Striped rows
}
table-bordered {
name = Bordered table
}
table-hover {
name = Hover rows
}
table-condensed {
name = Condensed table
}
table-responsive {
name = Responsive table
}

-------------------
PAGE TS CONFIG:

buttons.blockstyle.tags.table.allowedClasses >
buttons.blockstyle.tags.table.allowedClasses = table, table-striped, table-bordered, table-hover, table-condensed, table-responsive
allowedClasses < RTE.default.classesCharacter
allowedClasses := addToList(table, table-striped, table-bordered, table-hover, table-condensed, table-responsive, code)
------------------

setup:

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.
fixAttrib.class.list >
lib.parseFunc_RTE {
externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class {
default = table
always = 1
list = table, table-striped, table-bordered, table-hover, table-condensed, table-responsive
}
}


classes are saved to DB but not rendered in FE


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #64768: Classes for tables set in RTE are not renddered in FEClosed2015-02-02

Actions
Actions #1

Updated by Wouter Wolters about 9 years ago

  • Subject changed from Classes for tables set in RTE are not renddered in FE - Bug #64768 in 6.2 to Classes for tables set in RTE are not renddered in FE
  • Description updated (diff)
  • Category set to RTE (rtehtmlarea + ckeditor)
Actions #2

Updated by Georg Ringer about 9 years ago

  • Subject changed from Classes for tables set in RTE are not renddered in FE to Classes for tables set in RTE are not rendered in FE
Actions #3

Updated by Riccardo De Contardi about 9 years ago

  • Status changed from New to Needs Feedback

Hi Paolo, I made a test with TYPO3 6.2.15 and the following configuration:

TS Config:

RTE.default.showButtons = *

RTE.classes{
table {
            name = Base
        }
table-striped {
            name = Striped rows
        }
table-bordered {
            name = Bordered table
        }
table-hover {
            name = Hover rows
        }
table-condensed {
            name = Condensed table
        }
table-responsive {
            name = Responsive table
        }
}

RTE.default {
buttons {
blockstyle.tags.table.allowedClasses := addToList(table, table-striped, table-bordered, table-hover, table-condensed,table-responsive)
}
proc {
allowedClasses (
  table, table-striped, table-bordered, table-hover, table-condensed, table-responsive
)
}

TS Setup:

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list := addToList(table, table-striped, table-bordered, table-hover, table-condensed,table-responsive)

And it seems to work; could you tell me if it solves your problem? Thank you.

Actions #4

Updated by Riccardo De Contardi almost 9 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
You could also join the #typo3-cms channel in Slack if you still need support.
Thank you

Actions

Also available in: Atom PDF