Project

General

Profile

Actions

Bug #81522

closed

ckeditor - imports / refer to file inside fileadmin

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

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

0%

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

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

Actions #1

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

Actions #2

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

  1. Register custom plugins for ckeditor
  2. 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'.

Actions #3

Updated by Benni Mack about 7 years ago

Any chance you could move your code into a simple extension?

Actions #4

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

Actions

Also available in: Atom PDF