Hello,
I am debugging my code using Kendo Dojo example, https://demos.telerik.com/kendo-ui/editor/custom-tools, then click "Edit in Kendo UI Dojo" https://dojo.telerik.com/uyaWeQeb .
Here's the code I added to the example in tools array:
,{
name: "addTagv2",
tooltip: "Add a tag/segment",
label: "tag/segment",
template: '<button style="padding-left: 5px !important;" type="button" name="#: name #" title="#: tooltip #">#: label #</button>'
},
{
name: "editTagv2",
tooltip: "Edit a tag/segment",
label:"tag/segment",
template:'<button style="padding-left: 5px !important;" type="button" name="#: name #" title="#: tooltip #">#: label #</button>'
}
However, when I inspect the buttons I see the following HTML rendered:
<button style="padding-left: 5px !important;" type="button" name="Dojo output" title="Add a tag/segment" tabindex="-1">tag/segment</button>
<button style="padding-left: 5px !important;" type="button" name="Dojo output" title="Edit a tag/segment" tabindex="-1">tag/segment</button>
Where is "Dojo output" coming from? Is "name" a reserved word or property for the tool button.
Thanks,
James
Thanks,
James