【发布时间】:2014-01-15 06:11:04
【问题描述】:
我想将 sn-ps 动态添加到编辑器工具栏 kendo ui 我用这个代码
@(Html.Kendo().Editor()
.Name("textarea_question")
.HtmlAttributes(new { @class = "span5", style = "height:10px;" })
.Tools(tools => tools.Clear()
.Bold().Italic().Underline()
.Formatting()
.JustifyLeft()
.JustifyCenter()
.JustifyRight()
.JustifyFull()
.Snippets(s =>
{
foreach (var item in Model.pipingText)
{
s.Add(item.Name, item.Name);
}
})
)
)
但它有错误
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
请帮帮我!!!
【问题讨论】:
标签: kendo-ui