Code Edit Only Mode

 

In some cases, a special message appears in the menu bar of an editable page - "Code Edit Only mode is active". This means that the current page can only be edited using the Code Editor tool. 

Why is my Content Page in Code Edit Only Mode?

Code Edit Only Mode (not to be confused with Code Edit Mode) is triggered when changes made to the HTML code are not compatible with the structure of the Content Builder.


This could be for a number of reasons, such as:

  •  The page contains an internal <script> tag
  • The page contains an HTML table
  • The page contains custom HTML elements

When "Code Edit Only" mode is set for a page, any edits to that page must happen via the Code Editor; the Content Builder will not be available for that page.

How Can I Disable Code Edit Only Mode?

Code Edit Only Mode can only be disabled by an Aldrich Admin, therefore, you will have to contact us if you wish to turn this mode off.  

How Can I Avoid Code Edit Only Mode?

Before publishing changes made to a content page in Code Edit Mode, you will want to first check that all elements are compatible with the Content Edit Mode. To do this, ensure that all of the new code added to the page is saved in another location to avoid any work being lost. Once the changes have been backed up, you will want to select the "Save" button at the top of the page; When the save confirmation message appears, choose "Save and Continue Editing" (do not publish yet). 

At this point, if the code is considered incompatible with the Content Edit Mode, a warning message (see image below) will appear alerting you that you have triggered Code Edit Only Mode. 

Once you close this message, selecting "Revert To Published" will remove all changes made and stop your content page from entering Code Edit Only Mode.

Any element that would trigger Code Edit Only Mode can be safely added to the page by using a code snippet in Content Builder Mode. Click here for more information on how to use Code Snippets.