浏览代码

Docs: Improved styling and toolbar setup. See ckeditor/ckeditor5#5606 and ckeditor/ckeditor5#5607.

Piotrek Koszuliński 6 年之前
父节点
当前提交
53ca159da2

+ 7 - 0
packages/ckeditor5-horizontal-line/docs/_snippets/features/horizontal-line.html

@@ -44,3 +44,10 @@
 	</figure>
 	<p>&nbsp;</p>
 </div>
+
+<style>
+	.ck-content h2 {
+		border-bottom: none;
+		margin-bottom: 0;
+	}
+</style>

+ 4 - 5
packages/ckeditor5-horizontal-line/docs/_snippets/features/horizontal-line.js

@@ -21,24 +21,23 @@ ClassicEditor
 				'|',
 				'bold',
 				'italic',
-				'|',
-				'alignment',
-				'|',
 				'bulletedList',
 				'numberedList',
 				'|',
 				'outdent',
 				'indent',
 				'|',
+				'alignment',
+				'|',
+				'horizontalLine',
 				'blockQuote',
 				'link',
 				'imageUpload',
 				'mediaEmbed',
 				'insertTable',
-				'horizontalLine',
 				'|',
 				'undo',
-				'redo',
+				'redo'
 			],
 			viewportTopOffset: window.getViewportTopOffsetConfig()
 		},