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

Commit

Permalink
Merge pull request #214 from ckeditor/t/ckeditor5-block-quote/28
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oleq committed Jan 17, 2019
2 parents 8416dd1 + b2bd704 commit 5110584
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions theme/ckeditor5-table/tableediting.css
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

0 comments on commit 5110584

Please sign in to comment.