Bug #55960
Inline Editable Implementation without surrounding <div>
Status: | Closed | Start date: | 2014-02-13 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
I am trying to get a clean output in the frontend for a header:
<header>
<h1>Foo</h1>
</header>
Anything insite header should be inline editable.
If i want to do this, i always have to wrap the resulting <header> tag of editableViewhelper with an additional div wich represents the content type:
{namespace neos=TYPO3\Neos\ViewHelpers}
<div{attributes -> f:format.raw()}>
{neos:contentElement.editable(property: 'title', tag:'header')}
</div>
This wrapping div destroys my frontend html structure.
what i tried is:
{neos:contentElement.editable(property: 'title', tag:'header', node:node)}
without the wrapping div wich results in a <header> containing several neos attributes. but still not inline editable.
Imho inline editing should be possible without this wrapping div. F.e.: {neos:contentElement.editable(property: 'title', tag:'header')} {neos:contentElement.editable(property: 'title', tag:'div')} {neos:contentElement.editable(property: 'title', tag:'td')}
History
#1 Updated by Lienhart Woitok 10 months ago
- Assigned To set to Lienhart Woitok
#2 Updated by Lienhart Woitok 10 months ago
- Status changed from New to Closed
- Assigned To deleted (
Lienhart Woitok)
Moved to JIRA: https://jira.typo3.org/browse/NEOS-528