Set (css) style as default for tables (default properties)

Hi, I’m evaluating XWiki (freshly installed 14.2) for a tech and non-tech installation: hence I’m looking for ways to ease usage for non-tech users, who should never need to edit a page in source format or know / have to look up things like css styles.

For example, I saw that the default table that is created with the WYSIWYG editor only has horizontal borders, and I can get a full bordered table adding table-bordered to the Stylesheet classes among its properties.

I now want my users to automatically get a bordered table whenever they add a table by the Table icon from the editor toobar.

How can I achieve this?

Hi. As an admin, you can use a SSX xobject to set some CSS to apply to all tables. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/SkinExtensionsTutorial/

Thanks, I’ll try that as soon as possible.

Sorry for the very late reply.

What I meant was something like what has been asked here:

That thread has a negative answer, so I guess this will have the same; I’m posting this just to clarify my question.

What I meant is i.e. for when adding a table, instead of:

immagine

to have the Headers property already set (but still changeable by the user that is adding the table):

immagine

or even the Stylesheet Classes already valued:

immagine