Is it possible to allow the integration of the Template component in the Template() option of the CustomTemplate() configuration in the Editor's Toolbar?
For example:
@(Html.Kendo().Editor()
.Name("editor")
.Tools(tools => tools
.Clear()
.CustomTemplate(x => x.Name("customButton").Template(
Html.Kendo().Template()
.AddComponent(c => c.Button()
.Name("myButton")
.Events(ev => ev.Click("onExecute"))
)
))
)
)
Hello,
The functionality is available for UI for ASP.NET MVC and UI for ASP.NET Core as of R2 2023 SP1 (version 2023.2.718).
An example is available in the Editor Custom Tools demo.
Regards,
Aleksandar
Progress Telerik
Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Hello Carlhian,
Currently, the Template option in the Editor's toolbar CustomTemplate accepts only string. If the community is interested in using the Template component in the toolbar, we will consider adding it in a future release.
Regards,
Ivan Danchev
Progress Telerik
As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.