Project

General

Profile

Actions

Bug #82310

closed

Missing "Object styles" in RTE when overriding default preset in TYPO3 8.7.5

Added by Luis García about 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2017-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
rte object styles
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

This used to work before updating from 8.7.4 to 8.7.5.

In ext_localconf.php of the sitepackage:

$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:' . $_EXTKEY . '/Configuration/RTE/Default.yaml';

An example of the missing styles:

editor:
  config:
    stylesSet:
      - name: "Fließtext klein" 
        element: [ "p", "div", "span" ]
        attributes: { class: "flowtext-small" }

I noticed that if I change a little the syntax, it gets at least recognized as "inline style":

editor:
  config:
    stylesSet:
      - name: "Fließtext klein" 
        element: "p,div,span" 
        attributes: { class: "flowtext-small" }


Files

Screenshot 2017-09-05 22.55.34.png (10.1 KB) Screenshot 2017-09-05 22.55.34.png 1st screenshot Jochen Weiland, 2017-09-05 23:02
Screenshot 2017-09-05 22.56.02.png (9.21 KB) Screenshot 2017-09-05 22.56.02.png 2nd screenshot Jochen Weiland, 2017-09-05 23:02
Actions

Also available in: Atom PDF