Is there a way to implement line spacing in the RadEditor tools while using . file? The docs show how to do it with markup but not with the tools file. I can add it as a button in the tools file, but it shows it is not implemented and I don't know how to add the options to it. Thanks
If you still have issues on that, it would be easier for me to define the problem by providing some markup and XML examples to understand better the situation.
Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
I'm talking about adding Line Spacing Dropdown like this: http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/toolbars/dropdowns/examples/line-spacing-dropdown
but using tools file instead of markup. Thanks
0
Ianko
Telerik team
answered on 03 Nov 2015, 07:13 AM
Hi Martin,
The article shows how a custom DropDown tool can be created. Typically, built-in dropdown collections can be configured via ToosFile.xml file with the corresponding tags, e.g., Paragraphs, Styles, etc.
However, when it comes to custom dropdown tools, this is not a valid approach, they can be defined only in the markup and in the code behind.
The reason for that is that for the ToolsFile.xml file to work there is a logic that parses the XML file. And when it comes to custom tools, there is no strict values that can be parsed so that they can work in every situation there is.
Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items