Copy&Paste isssue when using .Tag parameter

2 posts, 0 answers
  1. Peter
    Peter avatar
    5 posts
    Member since:
    Oct 2014

    Posted 03 Oct Link to this post

    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?


  2. Ianko
    Ianko avatar
    1741 posts

    Posted 05 Oct Link to this post

    Hello Peter,

    I tested with this demo here and I was unable to reproduce the described behavior:

    There was a bug logged about the case, but it was fixed for the 2016 R3 version. You can check it out here:

    If you are using an older version of Kendo UI try if upgrading solves the case.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top