Bug #81522
closedckeditor - imports / refer to file inside fileadmin
0%
Description
hello,
it is not possible to refer to a file inside the fileadmin folder.
If i try to use an additional file in the ckeditor configuration file by using
- { resource: "fileadmin/Template/ext/rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml/Plugins.yaml" }
i get the following error
Argument 1 passed to TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader::processImports() must be of the type array, null given, called in /home/www/typo3_src-8.7.1/typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php on line 48
Updated by Patrick Lenk over 7 years ago
- { resource: "fileadmin/Template/ext/rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml/Plugins.yaml" }
you add the filename twice > /Plugins.yaml/Plugins.yaml
Updated by wini2 no-lastname-given over 7 years ago
Thank you Patrick,
you are right, but unfortunatly it leads me to another problem. In the Plugins.yaml-File it is not possible to add plugins like this
- Register custom plugins for ckeditor
- an example is the link plugin to select TYPO3-related links
editor:
externalPlugins:smiley: { resource: "fileadmin/Template/ext/rte_ckeditor/Resources/Public/JavaScript/Contrib/plugins/smiley/plugin.js" }
The Editor don't load if the smiley-plugin is renamed in the sysext-directory.
I'm not sure if it is a bug or a 'missing feature'.
Updated by Benni Mack about 7 years ago
Any chance you could move your code into a simple extension?
Updated by Georg Ringer over 4 years ago
- Status changed from New to Rejected
I am closing this issue because configuration in fileadmin is not really the way to go and creating a simple extension takes 5min time and this works