Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Apr 3, 2020
1 parent bc37390 commit ba16c4a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions theme/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@
& th {
min-width: 2em;
padding: .4em;
/* After coping a table from the editor and pasting it somewhere in the document, but outside of the editable,
table misses some border styles inherited from `.ck-editor__nested-editable` (when table was placed inside the widget).
To prevent this, we should define border-width and border-style here as well as a fallback.
To reduce LOC, we use shorthand.
See https://github.com/ckeditor/ckeditor5/issues/6314 */

/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it's not necessary here.
However, the border is a content style, so it should use .ck-content (so it works outside the editor).
Hence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */
border: 1px solid hsl(0, 0%, 75%);
}

Expand Down

0 comments on commit ba16c4a

Please sign in to comment.