Scrivito.RestoreInPlaceEditing

A container component for selectively restoring Scrivito’s in-place editing.

Copy
<Scrivito.RestoreInPlaceEditing>
  All users can edit here:
  <Scrivito.ContentTag content={widget} attribute="text" />
</Scrivito.RestoreInPlaceEditing>

If your app uses the Scrivito.InPlaceEditingOff container to selectively disable in-place editing, you may want to restore editing further down the component hierarchy.

For an area with in-place editing switched off, Scrivito.RestoreInPlaceEditing turns it back on for all children.

Remarks

On the live site and in preview mode, Scrivito.RestoreInPlaceEditing has no effect.