Task #54976

neos:contentElement.editable adds additional div in live

Added by Stefan Froemken over 1 year ago.

Status:New Start date:2014-01-14
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Content Editing Spent time: -
Target version:-

Description

Hello Neos-Team,

while our session we found out that neos:contentElement.editable returns an additional <div>-Tag in LIVE workspace.

TYPO3\Neos\ViewHelpers\ContentElement\EditableViewHelper

Set row 73-75 to:

if ($contentContext->getWorkspaceName() === 'live' || !$this->accessDecisionManager->hasAccessToResource('TYPO3_Neos_Backend_GeneralAccess')) {
    return $content;
}

Stefan

Also available in: Atom PDF