|
@@ -26,11 +26,10 @@
|
|
|
& th {
|
|
& th {
|
|
|
min-width: 2em;
|
|
min-width: 2em;
|
|
|
padding: .4em;
|
|
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%);
|
|
border: 1px solid hsl(0, 0%, 75%);
|
|
|
}
|
|
}
|
|
|
|
|
|