09-05-2018 11:24 AM - edited 09-10-2018 03:38 PM
Let's explore these a little more.
The new code editor uses the Ace Editor and includes the following convenient features:
The new extension introduces drafts, in-progress revisions of the code, that can be saved without being released in the next publish. Each extension has its own publish settings allowing you to control exactly what code gets released to each publish environment.
Each instance of the extension can save up to 20 drafts!
Compare any draft of the code with any other draft or to a currently published version. A full screen comparison shows which lines have changes so you can quickly assess how to proceed.
The biggest upgrade in the new extension is the introduction of drafts. Drafts allow you to edit code and save changes without affecting any of the publish environments.
This is achieved by using a simple publish workflow within the extension itself called Queue for Publish. When a draft is ready to be published you click Queue for publish... and select the desired publish locations. This freezes the draft in read-only mode and marks it to be included in the next publish to the chosen locations.
In the new workflow you only edit drafts and drafts are never published unless they are explicitly queued for the next publish.