浏览代码

Feature: Implemented list separator styles (see ckeditor/ckeditor5-table#24).

Aleksander Nowodzinski 7 年之前
父节点
当前提交
c9c6db98a5

+ 4 - 0
packages/ckeditor5-theme-lark/tests/manual/theme.js

@@ -236,6 +236,10 @@ function renderDropdown() {
 		} ) );
 	} );
 
+	collection.add( new Model( {
+		separator: true
+	} ), 2 );
+
 	ui.listDropdown.add( toolbar( [
 		listDropdown( {
 			label: 'Normal state',

+ 6 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css

@@ -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);
+}