// Digital Pi - Easy Editor GUI // v3.7.0 // check for Marketo Editor - add body class for GUI overlay var EDITOR = $('meta[name*="mkto-force-mobile"]'); // Marketo adds this metatag inside the editor only var GUI = $(EDITOR).length; window.addEventListener('load', function () { var EasyEditorHTML = '
Hide the overlay by toggling the [*] Easy Editor variable to "OFF"
'; if(GUI > 0){ $('body').addClass('EasyEditorGUI'); // CSS contains stylesheet for EasyEditor GUI var CSS = '' // inject GUI