Hi,
Currently i am experiencing an issue with the built in Editor, It is pre-filling with content fine, saving and submitting fine, however in Chrome and Edge when pasting content of any type e.g just a single word at the top of the content,the editor scrolls down to the bottom of the content. The pasting works fine and everything is displayed as it should be after scrolling up to find it.
This works as expected in Firefox just not in Chrome and Edge.
I am building up the editor as follows, I have tried removing the stylesheets and encode attribute to see if these were causing any issues to no avail, the content would just be some HTML, i have tested with some plain text and still get the issue:
@(Html.Kendo().Editor()
.Name("reportContent")
.HtmlAttributes(new { style = "width: 100%; height: 500px" })
.Tools(tools => tools
.Clear()
.ViewHtml()
.Bold().Italic().Underline().Strikethrough()
.JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
.InsertUnorderedList().InsertOrderedList()
.TableEditing()
.CleanFormatting()
.Formatting()
.FontName()
.FontSize()
.FontColor().BackColor()
)
.Value(@template)
.Encode(true)
.StyleSheets(c => c
.Add(Url.Content("~/Styles/CKEditor.css")))
)
Any help would be appreciated :)