浏览代码

Docs: Added missing CS config in the editor placeholder example. Closes #1561.

Kamil Piechaczek 6 年之前
父节点
当前提交
b7572c0c26
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      docs/_snippets/features/placeholder-custom.js
  2. 2 0
      docs/_snippets/features/placeholder.js

+ 2 - 0
docs/_snippets/features/placeholder-custom.js

@@ -6,9 +6,11 @@
 /* globals console, window, document */
 
 import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
+import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';
 
 ClassicEditor
 	.create( document.querySelector( '#snippet-placeholder-custom' ), {
+		cloudServices: CS_CONFIG,
 		placeholder: 'Type the content here!'
 	} )
 	.then( editor => {

+ 2 - 0
docs/_snippets/features/placeholder.js

@@ -6,9 +6,11 @@
 /* globals console, window, document */
 
 import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
+import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';
 
 ClassicEditor
 	.create( document.querySelector( '#snippet-placeholder' ), {
+		cloudServices: CS_CONFIG,
 		placeholder: 'Type the content here!'
 	} )
 	.then( editor => {