浏览代码

Changed ID of the snippet element.

Kamil Piechaczek 6 年之前
父节点
当前提交
9bbd187259

+ 1 - 1
packages/ckeditor5-horizontal-line/docs/_snippets/features/horizontal-rule.html

@@ -1,4 +1,4 @@
-<div id="demo-editor">
+<div id="snippet-horizontal-rule">
 	<h1>What is Lorem Ipsum?</h1>
 	<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
 	<hr>

+ 1 - 1
packages/ckeditor5-horizontal-line/docs/_snippets/features/horizontal-rule.js

@@ -12,7 +12,7 @@ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud
 ClassicEditor.builtinPlugins.push( HorizontalRule );
 
 ClassicEditor
-	.create( document.querySelector( '#demo-editor' ), {
+	.create( document.querySelector( '#snippet-horizontal-rule' ), {
 		toolbar: {
 			items: [
 				'heading',