I have a richtext editor in one of my document types, and wish to insert a table in here. However I would also like to set a specific css class on some of the table rows.
I see this can be possible by right-clicking on a row in the table, and selecting 'Row > Table row properties'. And then in the properties dialog there is a dropdown list field called 'Class' which lets you select a class.
My question is, how do I populate this 'Class' dropdown list with my own custom css classes?
I figured this out myself. If you go to the file called 'row.htm' in the folder '/umbraco_client/tinymce3/plugins/table/', and find the following piece of code:
You can add in your custom options in the drop down list control. The same can also be done for adding custom options within other drop down lists in the cell.htm, and table.htm files that exist within that same folder.
Editing table row properties
Hi,
I have a richtext editor in one of my document types, and wish to insert a table in here. However I would also like to set a specific css class on some of the table rows.
I see this can be possible by right-clicking on a row in the table, and selecting 'Row > Table row properties'. And then in the properties dialog there is a dropdown list field called 'Class' which lets you select a class.
My question is, how do I populate this 'Class' dropdown list with my own custom css classes?
Any help much appreciated.
Thanks.
I figured this out myself. If you go to the file called 'row.htm' in the folder '/umbraco_client/tinymce3/plugins/table/', and find the following piece of code:
You can add in your custom options in the drop down list control. The same can also be done for adding custom options within other drop down lists in the cell.htm, and table.htm files that exist within that same folder.
is working on a reply...