8
0
Эх сурвалжийг харах

Merge pull request #214 from ckeditor/t/ckeditor5-block-quote/28

Fix: The table selection handler should not be cropped when a table is a first-child of a blockquote or a root editable. Closes ckeditor/ckeditor5-block-quote#28.
Aleksander Nowodzinski 7 жил өмнө
parent
commit
d2857e704f

+ 8 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css

@@ -23,3 +23,11 @@
 		}
 		}
 	}
 	}
 }
 }
+
+.ck-editor__editable > .table:first-child,
+.ck-editor__editable blockquote > .table:first-child {
+	/* Do not truncate selection handler if table is a first-child in the blockquote or content.
+	https://github.com/ckeditor/ckeditor5-block-quote/issues/28
+	https://github.com/ckeditor/ckeditor5-widget/issues/44 */
+	margin-top: calc(1em + var(--ck-widget-handler-icon-size));
+}