Project

General

Profile

Actions

Bug #88566

closed

Problems with rte_ckeditor and yaml file

Added by Andreas Löwer almost 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2019-06-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi, I notice some strange behaviour when trying to add some custom styles in yaml file.

These lines work fine:

- { name: "My Style", element: "code", attributes: { class: "one"} }
- { name: "My Style", element: "code", attributes: { class: "one two"} }
- { name: "My Style", element: "code", attributes: { class: "one three two"} }

while there lines cause problems (the style "My Style" does not appear in list):

- { name: "My Style", element: "code", attributes: { class: "one two three"} }
- { name: "My Style", element: "code", attributes: { class: "two one three"} }
- { name: "My Style", element: "code", attributes: { class: "three two one"} }

I always tested one line of course. It's in TYPO3 9.5.7. In previous versions it works.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #86852: CKEditor doesn't show all configured stylesSetsClosedJosef Glatz2018-11-05

Actions
Actions #1

Updated by Sebastian Klein almost 5 years ago

  • Is duplicate of Bug #86852: CKEditor doesn't show all configured stylesSets added
Actions #2

Updated by Riccardo De Contardi about 4 years ago

  • Status changed from New to Closed

I close this issue as this does not seem a TYPO3 issue, but instead an issue about CKEditor, that seems not able to consider classes that are not in alphabetical order.

See #86852 and https://github.com/ckeditor/ckeditor-dev/issues/2578

so, as a workaround, always put the class in alphabetical order.

If you think that this is the wrong decision, please reopen it or ping me and I'll do.

Actions

Also available in: Atom PDF