We're creating editor with these settings:
01.
var editor =
02.
html.Kendo()
03.
.EditorFor(expression)
04.
.Tag(
"div"
)
05.
.Encode(
false
)
06.
.HtmlAttributes(htmlAttributes)
07.
.Messages(x => x.FontNameInherit(
"font"
).FontSizeInherit(
"size"
))
08.
.Tools(toolsConfigurator)
09.
.Events(events => events
10.
.Change(
"onKendoEditorChange"
)
11.
.Execute(
"onKendoEditorExecute"
)
12.
.Select(
"onKendoEditorSelect"
)
13.
.Paste(
"onKendoEditorPaste"
));
We use .Tag parameter because we need to access editor content.(Without .Tag editor is in iframe)
So when we're trying to copy & paste in the editor, copied text and cursor always jumps to the bottom of the editor, no matter where it was.
Without .Tag, pasting works fine.
Can You suggest any possible solution?
Thanks.