Actions
Bug #88566
closedProblems with rte_ckeditor and yaml file
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.
Updated by Sebastian Klein almost 5 years ago
- Is duplicate of Bug #86852: CKEditor doesn't show all configured stylesSets added
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