Ability to show the editor toolbar on focus

2 posts, 0 answers
  1. Nicholas
    Nicholas avatar
    8 posts
    Member since:
    Nov 2011

    Posted 01 Aug 2013 Link to this post

    I have an editor on a razor page:

    @(Html.Kendo().EditorFor(model => model.Message.MessageText)
                .Name("Message.MessageText")
                .HtmlAttributes(new { style = "height:550px" })
                .Tools(tools => tools
                    .Clear()
                    .Bold()
                    .Italic()
                    .Underline()
                    .Strikethrough()
                    .FontColor()
                    .BackColor()
                    .InsertOrderedList()
                    .InsertUnorderedList()
                    .Indent()
                    .Outdent()
                    .CreateLink()
                    .Unlink()
                    )
                )
    I have updated to the latest version of Kendo. In the release notes, it states as a new feature, "Ability to show the editor toolbar on focus". How can I do this?

    Thanks,
    Nick
  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 02 Aug 2013 Link to this post

    Hi Nick,

    You need to use the Editor's inline editing mode, i.e. create it from a <div> element with some content inside.

    http://demos.kendoui.com/web/editor/inline-editing.html

    This mode is supported only by the client-side Editor widget. Please keep in mind that in this mode there is no element that is submitted automatically to the web server. See the note below the demo.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top