Task #54976
neos:contentElement.editable adds additional div in live
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