Project

General

Profile

Actions

Feature #72044

closed

RTE: Definition of a default CSS class for several elements

Added by Malte Koitka over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2015-12-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

For the table wizard it is possible to add a default CSS class in the RTE.

RTE.default.buttons.table.properties.tableClass.defaultValue = default-table

From a developer and usability viewpoint it would be nice if a default class could also be defined for other elements. Then it would be possible to define for example a class "default-unordered-list" for lists, "default-image" for images etc.

Of course it's possible to add a default class with the ParseFunc in the frontend. But IMHO it would be better to also provide such a thing in the RTE.

Actions

Also available in: Atom PDF