Hello everyone,
I'm configuring the RadEditor and I can't do these two things:
1) Node Inspector: customize the list of CSS classes visible in the dropdown "CLASSNAME" or hide the dropdown "CLASSNAME"
2) Toolbar: create a custom button to change the background color of the text
Thanks
I'm configuring the RadEditor and I can't do these two things:
1) Node Inspector: customize the list of CSS classes visible in the dropdown "CLASSNAME" or hide the dropdown "CLASSNAME"
2) Toolbar: create a custom button to change the background color of the text
Thanks
4 Answers, 1 is accepted
0
ghini
Top achievements
Rank 2
answered on 21 Jan 2015, 08:31 AM
My Telerik version is 2014.3.1024.45
Thanks
Thanks
0
Hello Ghini,
The Css Class dropdown can be further configured to show only certain classes via the CssClass collection of the RadEditor.
As for creating custom buttons, this demo (Custom Tools) demonstrates exactly how to achieve that.
Regards,
Ianko
Telerik
The Css Class dropdown can be further configured to show only certain classes via the CssClass collection of the RadEditor.
As for creating custom buttons, this demo (Custom Tools) demonstrates exactly how to achieve that.
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.
0
ghini
Top achievements
Rank 2
answered on 24 Jan 2015, 10:33 AM
Hello Ianko,
thanks for your answer ...
1) Your suggestion works well but only if ApplyClass is visible in the Toolbar. If I hide the combobox of the Toolbar, the combo in the Node Inspector displays all classes of the page. Is that correct? May be ok anyway.
2) To allow the choice of the background color of the page, I would like to create a button with the ColorPicker. I would like to create a button similar to the Font Color. Is it possible?
Thank you very much
thanks for your answer ...
1) Your suggestion works well but only if ApplyClass is visible in the Toolbar. If I hide the combobox of the Toolbar, the combo in the Node Inspector displays all classes of the page. Is that correct? May be ok anyway.
2) To allow the choice of the background color of the page, I would like to create a button with the ColorPicker. I would like to create a button similar to the Font Color. Is it possible?
Thank you very much
0
Hello Ghini,
All dropdowns related to class names are the same tool and are populated with the same options. So, configuring one tool with the appropriate class names, affects all class-dedicated tools. You can see this screencast.
In the Custom Dropdowns demo is illustrated how you can implement your own dropdown to achieve the required custom tool.
Regards,
Ianko
Telerik
All dropdowns related to class names are the same tool and are populated with the same options. So, configuring one tool with the appropriate class names, affects all class-dedicated tools. You can see this screencast.
In the Custom Dropdowns demo is illustrated how you can implement your own dropdown to achieve the required custom tool.
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.