Override table output #7065
-
Hello! Could you please help me with this?
I would like to change this and add some additional CSS classes. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@VoDmAl Have a look at the following twing twig extension: https://github.com/sulu/web-twig/blob/2.5/docs/editor.md which allows you to add css classes to tags to that output. Still if you are control of your CSS you can also just do: <div class="editor">
{{ content.someEditor|raw }}
</div> And then create css with: .editor table {
// ..
} To add some additional CSS styles. |
Beta Was this translation helpful? Give feedback.
@VoDmAl Have a look at the following twing twig extension: https://github.com/sulu/web-twig/blob/2.5/docs/editor.md which allows you to add css classes to tags to that output.
{{ content.someEditor|editor_classes({table: 'special-table'}) }}
Still if you are control of your CSS you can also just do:
And then create css with:
To add some additional CSS styles.