Content Studio text component table styles

Enonic version: 7.0.2
Content Studio: 2.0.3
OS: Linux


When creating a table XP automatically adds some styles, so the final table looks like this:
<table border="1" cellpadding="1" cellspacing="1" style="border-spacing:1px; border:1px solid black; width:100%" class="table table-bordered table-striped">

We have styles that get broken by these inline styles and we are not able to create the same borders with current settings in Content Studio. We need them to be removed, however it is a lot of manual work as we were doing this via “Source” button in WYSIWYG. Is there any chance disable XP generating these inline styles?


1 Like

Yes, we will remove border, cellpadding and cellspacing attributes, and style as well. These attributes should be managed via custom CSS classes.