Sitecore IFrame displays Page Editor ribbon

2019-08-30 02:38发布

I am working on integrating an iframe to a Sitecore template. I have created the ASPX page and added that to the iframe in Sitecore template. (e.g. /sitecore/content/Custom Editors/SampleIFrameEditor)

It works fine, I can see my ASPX page gets rendered in the iframe control. Only issue is that it shows the "Page Editor" ribbon control on top (Home Advanced Expereience...), which I do not need to be displayed. (It's like I opened it up in Page Editor.)

How can I hide "Page Editor" options from this scenario?

1条回答
Melony?
2楼-- · 2019-08-30 02:59

You could add ?sc_mode=normal as a query string to your iframe src URL.

查看更多
登录 后发表回答