Project

General

Profile

Actions

Bug #81473

closed

CKEdtor - use multiple stylesheets

Added by wini2 no-lastname-given almost 7 years ago. Updated over 5 years ago.

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

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
ckeditor
Complexity:
Is Regression:
Sprint Focus:

Description

hi,

it's not possible to use more than one stylsheet in the configuration of the ckeditor. The way described at http://docs.ckeditor.com/#!/api/CKEDITOR.config

config.contentsCss = '/css/mysitestyles.css';
config.contentsCss = [ '/css/mysitestyles.css', '/css/anotherfile.css' ];

does not work. It produces the error

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Unexpected characters near ";" at line 11 (near "contentsCss: ["/fileadmin/Template/ext/rte_ckeditor/Resources/Public/Css/custom_contents.css" , "EXT:t3sbootstrap/Resources/Public/Styles/rte.css"];"). | Symfony\Component\Yaml\Exception\ParseException thrown in file /home/www/typo3_src-8.7.1/vendor/symfony/yaml/Inline.php in line 112.

btw.: The sytax of the offical documentation and the one which is used in Base.yaml are different - contentsCss = vs. contentsCSS : (both versions don't work).

Actions

Also available in: Atom PDF