8
0
Pārlūkot izejas kodu

Merge pull request #93 from ctjhoa/patch-1

Docs: Fix code block in feature guide.
Maciej 6 gadi atpakaļ
vecāks
revīzija
bd41c5b05c

+ 2 - 2
packages/ckeditor5-basic-styles/docs/features/basic-styles.md

@@ -63,8 +63,8 @@ import Superscript from '@ckeditor/ckeditor5-basic-styles/src/superscript';
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Bold, Italic, Underline, Strikethrough, Code, Subscript, Superscript ],
-		image: {
-			toolbar: [ 'bold', 'italic', 'underline', 'strikethrough', 'code','subscript', 'superscript'  ]
+		toolbar: {
+			items: [ 'bold', 'italic', 'underline', 'strikethrough', 'code','subscript', 'superscript'  ]
 		}
 	} )
 	.then( ... )