瀏覽代碼

Tests: Added heading and paragraph icons to the iconset test.

Aleksander Nowodzinski 7 年之前
父節點
當前提交
73c05b6638
共有 2 個文件被更改,包括 14 次插入0 次删除
  1. 2 0
      packages/ckeditor5-theme-lark/package.json
  2. 12 0
      packages/ckeditor5-theme-lark/tests/manual/iconset.js

+ 2 - 0
packages/ckeditor5-theme-lark/package.json

@@ -20,9 +20,11 @@
     "@ckeditor/ckeditor5-editor-classic": "^10.0.0",
     "@ckeditor/ckeditor5-easy-image": "^10.0.0",
     "@ckeditor/ckeditor5-font": "^10.0.0",
+    "@ckeditor/ckeditor5-heading": "^10.0.0",
     "@ckeditor/ckeditor5-highlight": "^10.0.0",
     "@ckeditor/ckeditor5-link": "^10.0.0",
     "@ckeditor/ckeditor5-list": "^10.0.0",
+    "@ckeditor/ckeditor5-paragraph": "^10.0.0",
     "@ckeditor/ckeditor5-undo": "^10.0.0",
     "@ckeditor/ckeditor5-utils": "^10.0.0",
     "eslint": "^4.15.0",

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

@@ -33,6 +33,10 @@ import quote from '@ckeditor/ckeditor5-core/theme/icons/quote.svg';
 import fontFamily from '@ckeditor/ckeditor5-font/theme/icons/font-family.svg';
 import fontSize from '@ckeditor/ckeditor5-font/theme/icons/font-size.svg';
 
+import heading1 from '@ckeditor/ckeditor5-heading/theme/icons/heading1.svg';
+import heading2 from '@ckeditor/ckeditor5-heading/theme/icons/heading2.svg';
+import heading3 from '@ckeditor/ckeditor5-heading/theme/icons/heading3.svg';
+
 import marker from '@ckeditor/ckeditor5-highlight/theme/icons/marker.svg';
 import pen from '@ckeditor/ckeditor5-highlight/theme/icons/pen.svg';
 import eraser from '@ckeditor/ckeditor5-highlight/theme/icons/eraser.svg';
@@ -43,6 +47,8 @@ import unlink from '@ckeditor/ckeditor5-link/theme/icons/unlink.svg';
 import bulletedList from '@ckeditor/ckeditor5-list/theme/icons/bulletedlist.svg';
 import numberedList from '@ckeditor/ckeditor5-list/theme/icons/numberedlist.svg';
 
+import paragraph from '@ckeditor/ckeditor5-paragraph/theme/icons/paragraph.svg';
+
 import undo from '@ckeditor/ckeditor5-undo/theme/icons/undo.svg';
 import redo from '@ckeditor/ckeditor5-undo/theme/icons/redo.svg';
 
@@ -61,6 +67,9 @@ const icons = {
 	// font
 	fontFamily, fontSize,
 
+	// heading
+	heading1, heading2, heading3,
+
 	// highlight
 	marker, pen, eraser,
 
@@ -70,6 +79,9 @@ const icons = {
 	// list
 	bulletedList, numberedList,
 
+	// paragraph
+	paragraph,
+
 	// undo
 	undo, redo
 };