WrapViewHelper
class WrapViewHelper extends AbstractViewHelper (View source)
A view helper for manually wrapping content editables.
Note that using this view helper is usually not necessary as Neos will automatically wrap editables of content elements.
By explicitly wrapping template parts with node meta data that is required for the backend to show properties in the
inspector, this ViewHelper enables usage of the contentElement.editable
ViewHelper outside of content element
templates. This is useful if you want to make properties of a custom document node inline-editable.
= Examples =
Properties
protected bool | $escapeOutput | ||
protected ContentElementWrappingService | $contentElementWrappingService |
Methods
Initialize the arguments.
In live workspace this just renders a the content.
Details
void
initializeArguments()
Initialize the arguments.
string
render()
In live workspace this just renders a the content.
For logged in users with access to the Backend this also adds the attributes for the RTE to work.