I would like to modify the SharePoint search results(default) hover panel to show only the body of the page, instead of the whole page with the master page and quick links on the preview.

有帮助吗?

解决方案

I assume you are using SharePoint 2013/2016. Since the default page viewer is just an IFrame, you would have to write your own that extracts the divs that you are interested in. To me, it sounds like a painful process since you will be depending on your page authors to follow standards.

许可以下: CC-BY-SA归因
scroll top