2013-07-31 101 views
1

请参阅屏幕快照,编辑器呈现,但工具栏上没有图标,我检查了editor.png是在默认文件夹中。Kendo Ui编辑器

<textarea cols="25" rows="5" id="History" 
    style="width:420px" name="History" 
    placeholder="this is a History field" ></textarea> 

$("#History").kendoEditor({ 
     tools: [ 
      "bold", 
      "italic", 
      "underline", 
      "strikethrough", 
      "justifyLeft", 
      "justifyCenter", 
      "justifyRight", 
      "justifyFull" 
       ] 
    }); 

,然后将截图是

enter image description here

+0

有一个叫sprites.png文件中你在浏览器中看到任何消息乐? –

回答

1

检查所包括CSS文件:

<link href="/styles/kendo.default.min.css" rel="stylesheet" type="text/css"/> 

和您在/styles/Default

+0

css和png图像已经存在......我知道它的某种css冲突,我不明白如何识别冲突。 –

+0

您是否使用萤火虫,镀铬或某些浏览器与开发工具?右键单击图标应显示的位置,然后检查该元素的HTML(类属性)和CSS定义(缺失图标)。就我们无法复制而言,很难猜测发生了什么。 – OnaBai