Project

General

Profile

Actions

Feature #21806

closed

htmlArea RTE: Configuring custom items in the block formatting drop-down list

Added by Stanislas Rolland almost 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-12-05
Due date:
% Done:

0%

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

Description

The feature adds three PageTSConfig options to configure the block formatting drop-down list.

Adding a class on formatted blocks:

buttons.formatblock.items.[item-name].addClass
string
A class name to be assigned to the blocks whenever the item is applied to selected text.

Adding custom items to the block formatting drop-down list:

buttons.formatblock.addItems
list of id-strings
List of options to be added to the block formating drop-down list.
Each of the added items should be configured.

Configuring a custom item to be added to the block formatting drop-down list:

buttons.formatblock.items.[item-name].tagName
string
A tag name to be assigned to the block elements whenever the (custom) item is applied to selected text.
The value of this property must be equal to one of the standard block element types.
[item-name] must not be a standard block tag name.

Other properties applicable to standard items also apply to custom items (addClass, label, hotKey, etc.).

Extended options:

buttons.formatblock.orderItems
The list may also contain custom items as specified by the buttons.formatblock.addItems property.

(issue imported from #M12943)


Files

rtehtmlarea_feature_12943.patch (13 KB) rtehtmlarea_feature_12943.patch Administrator Admin, 2009-12-06 00:04
Actions #1

Updated by Stanislas Rolland almost 15 years ago

Committed to SVN TYPO3core (revision 6633).

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF