I can apply a CSS class to a paragraph by using the ApplyClass tool, which will add a <span class="className"> inside the paragraph. But I would prefer the selected class being applied to the selected P element directly instead of adding an extra SPAN.
Can that be achieved?
1 Answer, 1 is accepted
0
Ianko
Telerik team
answered on 07 May 2014, 02:44 PM
Hello Marja,
The mentioned functionality of the Apply Class tool is designed this way to preserve teh ability to change the class name of a selection and not to parent element.
I can recommend implementing a Custom Dropdown tool that fits your requirements.
Regards,
Ianko
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.