Feature #52462

Include own UI elements to the inspector

Added by Soren Malling almost 2 years ago. Updated over 1 year ago.

Status:New Start date:2013-10-02
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-

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