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 #177 from ckeditor/t/ckeditor5-table/24
Browse files Browse the repository at this point in the history
Feature: Implemented list separator styles (see ckeditor/ckeditor5-table#24).
  • Loading branch information
jodator authored Jun 13, 2018
2 parents 1cfd2a6 + 84b5731 commit e0d1897
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/manual/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ function renderDropdown() {
} ) );
} );

collection.add( new Model( {
isSeparator: true
} ), 2 );

ui.listDropdown.add( toolbar( [
listDropdown( {
label: 'Normal state',
Expand Down
6 changes: 6 additions & 0 deletions theme/ckeditor5-ui/components/list/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@
background: var(--ck-color-list-item-background-active-focus);
}
}

.ck.ck-list__separator {
height: 1px;
width: 100%;
background: var(--ck-color-base-border);
}

0 comments on commit e0d1897

Please # to comment.