I would like to take details from a list and display them on a page using the SPO webpart. When I do this and use the Display option, the information shows on the page, but it displays the Edit Button. Is there a way from prohibit the Edit button from showing using JS?
Dear @sfranchini,
Try adding this to the JavaScript editor:
fd.spRendered(function(){
fd.toolbar.buttons[0].style = 'display: none;';
});
More examples of working with buttons here - Managing form's toolbar with JS — SharePoint forms