Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
Is there a way to add styles to a table in the RTE? There seems to be a table properties option with and advanced tab but entering a class name in there doesn't do anything?
After Ok is pressed there is no class added to the html.
Thanks David
Anyone???
That'll be a no then.
Hi David,
I'm not sure to be fair. I think the styling entry is expecting CSS style code rather than a class name.
Nik
After a bit of looking, there following provides some possible options for what you are after:
https://our.umbraco.org/forum/developers/extending-umbraco/13913-Custom-CSS-class-on-tables#comment-263535
https://stackoverflow.com/questions/20900965/how-can-i-add-a-class-to-a-table-in-tinymce-for-umbraco-7-without-using-the-sour/38400129#38400129
Hope that helps :-)
Thanks for the reply.
You were correct with your first answer, the style box is expecting pure css. I tried putting 'border 1px solid red;' in there and it worked.
This is not suitable though for content editors as they won't understand.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Table styling
Hi
Is there a way to add styles to a table in the RTE? There seems to be a table properties option with and advanced tab but entering a class name in there doesn't do anything?
After Ok is pressed there is no class added to the html.
Thanks David
Anyone???
That'll be a no then.
Hi David,
I'm not sure to be fair. I think the styling entry is expecting CSS style code rather than a class name.
Nik
Hi David,
After a bit of looking, there following provides some possible options for what you are after:
https://our.umbraco.org/forum/developers/extending-umbraco/13913-Custom-CSS-class-on-tables#comment-263535
https://stackoverflow.com/questions/20900965/how-can-i-add-a-class-to-a-table-in-tinymce-for-umbraco-7-without-using-the-sour/38400129#38400129
Hope that helps :-)
Nik
Thanks for the reply.
You were correct with your first answer, the style box is expecting pure css. I tried putting 'border 1px solid red;' in there and it worked.
This is not suitable though for content editors as they won't understand.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.