By locking a group, you can make a layer and its nested layers a single entity, which helps when:
- Moving parts of a Page or Section around the Visual Editor. Instead of moving a logical section one block at a time, move the whole group by intuitively grabbing the whole section.
- Protecting layout while permitting content editing. When a group is locked, users can edit the content without inadvertently changing design elements such as color or layout.
- Preventing unintended edits. Locking a group still lets you edit content, such as images and copy, but locking helps avoid inadvertently dragging and dropping elements within the locked group.
To get the most out of this document, make sure you:
- Understand Using Layers
- Have a group of nested layers
- Select the group you'd like to lock.
- Click the down arrow.
- Select Lock Group.
When a group is locked, the Layers tab displays a pencil icon to the right of the containing element with a tooltip that reads, "This element is locked as an editable group". Additionally, the Lock Group menu option changes to Unlock Group to indicate that the group is currently locked.
The video below shows how to lock a group.
To edit content, such as text and images in a locked group:
- Select the locked group.
- Open the Options tab to edit the group's contents.
The Options tab also provides controls to:
- Temporarily access the blocks within the locked group to edit them directly as if they were unlocked
- Unlock the group. This has the same result as the instructions in Unlocking a group.
The video below shows editing text and an image in a locked group as well as temporarily editing inner content as if the group weren't locked.
Tip: You can also triple-click (or Cmd
+ click) on an element in the group to make edits to a specific layer.
Locked groups display as one entity on hover. This means that the individual elements within locked groups don't display focus rings or edit buttons when you hover over them.
Because the group behaves as one entity, moving entire groups of content to a different area on the page becomes more intuitive and you can ensure that the contents remain as you intend.
To move a locked group:
- Click on the locked group and drag and drop it where you'd like to place it in the Visual Editor.
- Select the group you'd like to unlock.
- Click the down arrow.
- Select Unlock Group.
The video below shows how to unlock a group. You can also unlock a group in the Options tab, as mentioned in Editing content in a locked group.
Parts of a Page or a Section that serve as single entities make ideal candidates for reuse. For more on reusing layouts, visit:
If you'd prefer to grant permissions to users to more specifically tailor their access, visit Roles and Permissions in a Space.