Browse Source

Adjusted toolbar configuration of the build.

Aleksander Nowodzinski 7 years ago
parent
commit
e121b034d5

+ 1 - 0
packages/ckeditor5-build-classic/build-config.js

@@ -38,6 +38,7 @@ module.exports = {
 		toolbar: {
 			items: [
 				'headings',
+				'|',
 				'bold',
 				'italic',
 				'link',

+ 1 - 0
packages/ckeditor5-build-classic/src/ckeditor.js

@@ -46,6 +46,7 @@ ClassicEditor.build = {
 		toolbar: {
 			items: [
 				'headings',
+				'|',
 				'bold',
 				'italic',
 				'link',

+ 1 - 1
packages/ckeditor5-build-classic/tests/ckeditor.js

@@ -195,7 +195,7 @@ describe( 'ClassicEditor build', () => {
 				.then( newEditor => {
 					editor = newEditor;
 
-					expect( editor.ui.view.toolbar.items.length ).to.equal( 9 );
+					expect( editor.ui.view.toolbar.items.length ).to.equal( 10 );
 					expect( editor.ui.view.stickyPanel.viewportTopOffset ).to.equal( 42 );
 				} );
 		} );