neos / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.
https://www.neos.io/
GNU General Public License v3.0
260 stars 221 forks source link

Inline Editable Implementation without surrounding <div> #999

Closed neos-bot closed 7 years ago

neos-bot commented 9 years ago

Jira issue originally created by user @liwo:

I am trying to get a clean output in the frontend for a header:

Foo

Anything insite header should be inline editable. If i want to do this, i always have to wrap the resulting

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')}

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

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')}

Jira-URL: https://jira.neos.io/browse/NEOS-528

kitsunet commented 7 years ago

IMHO won't fix, maybe the rewritten UI allows other variants. Using other tags is already possible, closing for now.