Methods for adjusting code and content in Stackbit.
Stackbit's visual editing application provides four different ways to directly edit code and content.
While inline editing is done directly on the preview, all others are enabled through icons on the left sidebar in the visual editing application.
The page editor is a panel on the left side of the screen that changes context based on actions taken within the preview and sitemap navigator.
The content editor provides a means to quickly edit structured pages and data objects. This is similar to traditional form-based editing within a CMS.
The code editor can be used to make code changes directly in Stackbit. Every change is automatically committed to the working branch in the remote repository.
The code editor is only available in cloud projects, since you can use your code editor when working locally.
The visual editor provides the ability to make changes directly in the preview by clicking directly on editable content.
These editing methods can be further customized with various editing features.
Custom buttons can be added to the sidebar as direct links and shortcuts to content or editing controls.
Stackbit infers field editor controls as best as possible. Fields can then be further customized through model extensions.
Fields can be broken up into tabbed groups for better organization when using the page or content editors.
When the default field controls are not enough, you can bring your own custom field controls.
This section contains additional features to aid with visual editing.
Document titles are paired with labels (in some cases) to indicate their current status, providing a quick visual representation of the state of content.