8
0
فهرست منبع

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

Kamil Piechaczek 7 سال پیش
والد
کامیت
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 => {