iframe block HTML模式好像有bug。 1.9版本
如果目标是嵌入
<iframe
src="http://localhost:3000/channel/general/?layout=embedded"
title="myframe">
</iframe>
url模式下,可以正常显示
<iframe
allowfullscreen=""
width="100%"
style="position: relative; display: block; height: 1590px; margin-bottom: 24px; border: 0px;"
src="http://localhost:3000/channel/general/?layout=embedded">
</iframe>
html模式下
<iframe
allowfullscreen="" width="100%"
style="position: relative; display: block; height: 1590px; margin-bottom: 24px; border: 0px;"
src="data:text/html;charset=utf-8,%3Ciframe%0Asrc%3D%22http%3A%2F%2Flocalhost%3A3000%2Fchannel%2Fgeneral%2F%3Flayout%3Dembedded%22%0Atitle%3D%22myframe%22%0A%3E%3C%2Fiframe%3E">
</iframe>
HTML模式src应该是双层嵌套了,即便输入http://localhost:3000/channel/general/?layout=embedded 也不能正常显示
<iframe allowfullscreen="" width="100%"
style="position: relative; display: block; height: 1590px; margin-bottom: 24px; border: 0px;"
src="data:text/html;charset=utf-8,http%3A%2F%2Flocalhost%3A3000%2Fchannel%2Fgeneral%2F%3Flayout%3Dembedded"></iframe>