When I add a CEWP to the Edit Page it launches the SharePoint Publishing toolbar and the form displays the Field tags.
I have inserted the following into the Misc sections for Custom CSS and Custom JS to hide/ prevent the page going into Publish mode. However, I’m sure there may be a more elegant solution. Any ideas?
Custom CSS
.ms-formfieldlabelcontainer {
display: none;
}
.ms-formfieldvaluecontainer {
border: 0px;
border-style:hidden;
padding:0px;
margin:0px;
}
Custom JS
window.onbeforeunload=DisableRefreshOnFocus;
$(document).ready(function()
{
$(‘#ctl00_SPNavigation_ctl01_authContainer1’).remove();
});