Feature #52462

Include own UI elements to the inspector

Added by Soren Malling about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-10-02
Due date:
% Done:

0%


Description

While working on

http://forge.typo3.org/issues/47895#note-5

I will like to add my own element to the righthand inspector - but at the moment it doesn't seem possible due to limitation in JavascriptConfigurationViewHelper

$resourcePath = 'resource://TYPO3.Neos/Public/JavaScript';
$localizedResourcePathData = $this->i18nService->getLocalizedFilename($resourcePath);
$matches = array();
if (preg_match('#resource://([^/]+)/Public/(.*)#', current($localizedResourcePathData), $matches) === 1) {
    $package = $matches[1];
    $path = $matches[2];
}

I would like it to be possible to add my own with a configuration like this

      boolean:
        editor: Content/Inspector/Editors/BooleanEditor
      taxonomy:
        editor: resource://TYPO3.Neos.Taxonomy/Scripts/Content/Editor/TaxonomyEditor

or maybe

      taxonomy:
        package: 'TYPO3.Neos.Taxonomy'
        editor: Content/Inspector/Editors/BooleanEditor

Please comment and I will give my own first try

Also available in: Atom PDF