Browse Source

Enable 'linkImage' button in image toolbar in link image preview.

Maciej Gołaszewski 5 years ago
parent
commit
740c51b868
1 changed files with 10 additions and 0 deletions
  1. 10 0
      packages/ckeditor5-image/docs/_snippets/features/image-link.js

+ 10 - 0
packages/ckeditor5-image/docs/_snippets/features/image-link.js

@@ -12,6 +12,16 @@ ClassicEditor
 		toolbar: {
 			viewportTopOffset: window.getViewportTopOffsetConfig()
 		},
+		image: {
+			toolbar: [
+				'imageStyle:full',
+				'imageStyle:side',
+				'|',
+				'imageTextAlternative',
+				'|',
+				'linkImage'
+			]
+		},
 		cloudServices: CS_CONFIG
 	} )
 	.then( editor => {