Visual Editing
Visual Editing allows you to click on content directly on the website and edit it inline, without navigating through the admin panel.
How It Works
Section titled “How It Works”sequenceDiagram
actor Editor
participant Frontend
participant VisualEditor
participant InlineEditForm
participant Database
Editor->>Frontend: Clicks editable element
Frontend->>VisualEditor: Sends source map data
VisualEditor->>InlineEditForm: Opens slide-over panel
InlineEditForm->>Database: Loads current value
InlineEditForm->>Editor: Shows editing form
Editor->>InlineEditForm: Edits and saves
InlineEditForm->>Database: Updates section content
InlineEditForm->>Frontend: Emits contentUpdated event
Frontend->>Frontend: Refreshes section content
Enabling Visual Editing
Section titled “Enabling Visual Editing”- Log in to the website (you must have the
EditFrontendContentpermission) - Look for the floating “Edit” button (usually bottom-right corner)
- Click the button to enter editing mode
- The page will reload with editable indicators
![Visual Editing Toggle - Placeholder for screenshot showing the edit button]
Editing Content
Section titled “Editing Content”When editing mode is active:
- Hover over content to see a pencil icon
- Click the content to open the editing panel
- Edit the value in the form
- Save to apply changes
- The content updates immediately without refreshing the page
![Visual Edit Panel - Placeholder for screenshot showing the slide-over panel]
Field Types
Section titled “Field Types”The editing panel adapts to the type of content:
| Field Type | Editor | Example |
|---|---|---|
| Text | Single-line input | Headlines, labels |
| Textarea | Multi-line input | Descriptions |
| Rich Text | WYSIWYG editor | Body content |
| Image | File upload | Photos, logos |
| Repeater | List editor | Team members, features |
Repeater Editing
Section titled “Repeater Editing”For list-based content (like team members or features):
- Click on the repeater container
- Add, remove, or reorder items
- Edit each item’s fields
- Save to update the entire list
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”- Escape: Close the editing panel
- Cmd/Ctrl + S: Save changes
Exiting Editing Mode
Section titled “Exiting Editing Mode”- Click the “Done” button on the floating control
- Or click the pencil icon again
- The page reloads without editing indicators
Limitations
Section titled “Limitations”- You can only edit text and image content
- Layout and styling changes require a developer
- Some complex fields may not be editable visually
- Changes are saved immediately to the database
Best Practices
Section titled “Best Practices”- Preview your changes on the frontend
- Don’t edit content while other editors are working on the same section
- Save frequently
- Use the admin panel for creating new sections or pages
- Report any fields that should be editable but aren’t