CKEditor table td style not showing in frontend I use CKEditor (WISYWYG editor) to edit text and HTML for my Drupal project. I want to edit an HTML table and try to horizontally align text in a table cell &lt;td&gt; to the right.

My steps:


select the text in the table cell
right+click > Cell > Cell properties > Horizontal Alignment: Right.


When I am logged-in and I inspect the HTML I see &lt;td style="text-align: right;"&gt;My text&lt;/td&gt;. But as soon as I am logged-out the HTML is stripped and I see only &lt;td&gt;My text&lt;/td&gt; (style="text-align: right;" disappeared).

I certainly need to align my text to the right in some HTML table cells.

Update:


I use Filtered HTML
In admin/config/content/formats/filtered_html, I added the following settings (see screenshot):
Had a similar issue for a long text field (filtered html format).

HTML tags were getting removed when switching between formats (editor was removing them).

At /admin/config/content/ckeditor/edit/Advanced (advanced is a profile name used for the filtered html format in my case), under "advanced content filter", choosing disabled solved the issue (server side filtering works, this filtering is there for the wysiwyg ux essentially).