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 #268 from ckeditor/i/6114
Browse files Browse the repository at this point in the history
Features: Brought styles for selected table cells (multi-cell selection) (see ckeditor/ckeditor5#6114).
  • Loading branch information
Reinmar authored Feb 28, 2020
2 parents a20d13b + ad905c1 commit 401bc5b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions theme/ckeditor5-table/tableselection.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

:root {
--ck-table-selected-cell-background: hsl(210, 92%, 90%);
}

.ck.ck-editor__editable .table table {
& td.ck-editor__editable_selected,
& th.ck-editor__editable_selected {
background-color: var(--ck-table-selected-cell-background) !important;
}
}

0 comments on commit 401bc5b

Please sign in to comment.