简体   繁体   English

Sitecore和断页编辑器

[英]Sitecore and broken page editor

I am having an issue with sitecore, using MVC, where I have this is my page layout file: 使用MVC,sitecore出现了问题,这是我的页面布局文件:

<!--[if lte IE 8]><body class="ie8"><![endif]-->
<!--[if IE 9]><body class="ie9"><![endif]-->
<!--[if (gte IE 10)|!(IE)]><!-->
<body><!--<![endif]-->

Page editor is loading into the first "body for ie8" and thus all I see is code and not page editor. 页面编辑器正在加载到第一个“ ie8的主体”中,因此我看到的只是代码而不是页面编辑器。 Has anyone else experienced this? 其他人有没有经历过? Am I missing something? 我想念什么吗?

Thanks. 谢谢。

We are using same approach but for HTML tag instead of BODY without any problems: 我们使用相同的方法,但是使用HTML标记而不是BODY没有任何问题:

<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM