I am using the paste cleanup feature with version 2016.2.504
I am getting error.
Kendo.MVC.UI.Fluent.EditorBuilder' does not contain a definition for 'PasteCleanup' and no extension method 'PasteCleanup' accepting a first argument of type 'kendo.MVC.UI.Fluent.EditorBuilder' could be found.
Could you please help in this?
Just to add more details to above query -
Here is my kendo editor definition like tbelow:
@(Html.Kendo().Editor()
.Name("ManuscriptFormTextEditor")
.PasteCleanup(p => p
.All(false)
.Css(false)
.KeepNewLines(false)
.MsAllFormatting(false)
.MsConvertLists(true)
.MsTags(true)
.None(false)
.Span(false)
)
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline().Strikethrough()
.JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
.InsertUnorderedList().InsertOrderedList()
.Outdent().Indent()
//.CreateLink().Unlink()
//.InsertImage()
//.InsertFile()
.SubScript()
.SuperScript()
.TableEditing()
//.ViewHtml()
.Formatting()
.CleanFormatting()
//.FontName()
.FontName(items => items
.Add("Arial", "Arial")
.Add("Arial Narrow", "Arial Narrow")
.Add("Calibri", "Calibri")
.Add("Courier New", "Courier New")
.Add("Tahoma", "Tahoma")
.Add("Times New Roman", "Times New Roman")
.Add("Verdana", "Verdana")
)
//.FontSize()
.FontSize()
.FontColor().BackColor()
//.Print()
)
.HtmlAttributes(new { style = "width: 100%;height:500px;text-align:center;font-size:14px;" })
.Encode(false)
.Value(@<text>@Html.Raw(@ViewBag.ManuscriptFormText)</text>)
)
It is not throwing any error if i remove the code :
.PasteCleanup(p => p
.All(false)
.Css(false)
.KeepNewLines(false)
.MsAllFormatting(false)
.MsConvertLists(true)
.MsTags(true)
.None(false)
.Span(false)
)