8
0
Просмотр исходного кода

Merge branch 'master' into t/1542

Kamil Piechaczek 7 лет назад
Родитель
Сommit
97007ee6e1
2 измененных файлов с 6 добавлено и 0 удалено
  1. 3 0
      docs/_snippets/features/placeholder-custom.js
  2. 3 0
      docs/_snippets/features/placeholder.js

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

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

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

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