浏览代码

Aligning the package to the new default theme.

Aleksander Nowodzinski 8 年之前
父节点
当前提交
2a5c108da1

+ 3 - 1
packages/ckeditor5-alignment/tests/manual/alignment.js

@@ -12,7 +12,9 @@ import Alignment from '../../src/alignment';
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet, Alignment ],
-		toolbar: [ 'headings', 'bold', 'italic', 'link', 'alignmentDropdown', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
+		toolbar: [
+			'headings', '|', 'bold', 'italic', 'link', 'alignmentDropdown', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
+		]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-alignment/theme/icons/align-center.svg

@@ -1 +1 @@
-<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16 10v1H4v-1h12zm-1 6v1H5v-1h10zm3-3v1H2v-1h16zm-2-9v1H4V4h12zm2 3v1H2V7h16z" fill="#444" fill-rule="evenodd"/></svg>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.286 16.5a.5.5 0 0 0 .5.5h10.428a.5.5 0 1 0 0-1H4.786a.5.5 0 0 0-.5.5zM2 12.5a.5.5 0 0 0 .5.5h15a.5.5 0 1 0 0-1h-15a.5.5 0 0 0-.5.5zm2.286-4a.5.5 0 0 0 .5.5h10.428a.5.5 0 1 0 0-1H4.786a.5.5 0 0 0-.5.5zM2 4.5a.5.5 0 0 0 .5.5h15a.5.5 0 1 0 0-1h-15a.5.5 0 0 0-.5.5z" fill="#000" fill-rule="evenodd"/></svg>