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

Replace "Insert HTML" as snippet title to something else

2 Answers 198 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Logan
Top achievements
Rank 1
Veteran
Logan asked on 19 Jun 2014, 07:05 PM
I am using snippets with my kendo editor and need to replace the standard "Insert HTML" drop down label with "Insert Merge Field".

I have tried simply replacing the text, but it gets replaced as soon as i insert the first field.

TIA

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 23 Jun 2014, 06:20 AM
Hello Logan,

In order to change this text, set the messages.insertHtml property to the correct text, like so:

$("#editor").kendoEditor({
    messages: {
        insertHtml: "Insert Merge Field"
    }
});

Regards,
Alex Gyoshev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Logan
Top achievements
Rank 1
Veteran
answered on 23 Jun 2014, 12:36 PM
Perfect. 
Thanks!
Tags
Editor
Asked by
Logan
Top achievements
Rank 1
Veteran
Answers by
Alex Gyoshev
Telerik team
Logan
Top achievements
Rank 1
Veteran
Share this question
or