Task #54976

neos:contentElement.editable adds additional div in live

Added by Stefan Froemken over 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Content Editing
Target version:
-
Start date:
2014-01-14
Due date:
% Done:

0%

Estimated time:

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

No data to display

Also available in: Atom PDF