Upgrades

From 1.0.x to 1.1.x

The layout of your theme must now include an additional Javascript file in the HTML header. This file is in charge of the communication between any page of the theme and the Maglev Editor UI.

<!DOCTYPE html>
<html>
<head>
  <title><%= maglev_page.seo_title.presence || maglev_site.name %></title>
  
  ....  

  <%= maglev_live_preview_client_javascript_tag %>

  ....

Last updated