8
0
فهرست منبع

Docs: Configured toolbar offset.

Piotrek Koszuliński 8 سال پیش
والد
کامیت
101330537b
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      packages/ckeditor5-heading/docs/_snippets/features/custom-heading-levels.js

+ 3 - 0
packages/ckeditor5-heading/docs/_snippets/features/custom-heading-levels.js

@@ -13,6 +13,9 @@ ClassicEditor
 				{ modelElement: 'heading1', viewElement: 'h1', title: 'Heading 1', class: 'ck-heading_heading1' },
 				{ modelElement: 'heading2', viewElement: 'h2', title: 'Heading 2', class: 'ck-heading_heading2' }
 			]
+		},
+		toolbar: {
+			viewportTopOffset: 60
 		}
 	} )
 	.then( editor => {