Skip to content
Snippets Groups Projects
Commit 907449f1 authored by Guido Schmechel's avatar Guido Schmechel Committed by Georg Ringer
Browse files

[DOCS] Add example for multiple RTE CSS classes

An example for the addition of multiple CSS classes to
editor.config.style will be added to the existing RST files.

Resolves: #104310
Releases: main, 12.4
Change-Id: I8a77aae8c402608857b3b7ea690da23f4f8134c6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85107


Tested-by: default avatarTorben Hansen <derhansen@gmail.com>
Reviewed-by: default avatarTorben Hansen <derhansen@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 5fc077b6
Branches
Tags
No related merge requests found
......@@ -113,6 +113,7 @@ from `editor.config.wordcount` to `editor.config.wordCount`:
definitions:
# block level styles
- { name: "Lead", element: "p", classes: ['lead'] }
- { name: "Multiple", element: "p", classes: ['first', 'second'] }
- { name: "Small", element: "small", classes: [] }
# Inline styles
- { name: "Muted", element: "span", classes: ['text-muted'] }
......
......@@ -109,6 +109,7 @@ editor.config
style:
definitions:
- { name: "Lead", element: "p", classes: ['lead'] }
- { name: "Multiple", element: "p", classes: ['first', 'second'] }
.. option:: editor.config.importModules
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment