diff --git a/theme/table.css b/theme/table.css index 1a3b0ade..0a5c9e5b 100644 --- a/theme/table.css +++ b/theme/table.css @@ -39,3 +39,13 @@ } } } + +/* Text alignment of the table header should match the editor settings and override the native browser styling, +when content is available outside the ediitor. See https://github.com/ckeditor/ckeditor5/issues/6638 */ +.ck-content[dir="rtl"] .table th { + text-align: right; +} + +.ck-content[dir="ltr"] .table th { + text-align: left; +}