This is a migrated thread and some comments may be shown as answers.

Ability to show the editor toolbar on focus

1 Answer 159 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Nicholas
Top achievements
Rank 1
Nicholas asked on 01 Aug 2013, 07:57 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 02 Aug 2013, 01:23 PM
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!
Tags
Editor
Asked by
Nicholas
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or