Procházet zdrojové kódy

Internal: Updated CS configs after uploadUrl default value has been removed. See ckeditor/ckeditor5-cloudservices#12.

Piotrek Koszuliński před 7 roky
rodič
revize
1e35e8240a

+ 4 - 0
packages/ckeditor5-highlight/docs/_snippets/features/custom-highlight-colors-inline.js

@@ -4,8 +4,12 @@
  */
 
 /* globals ClassicEditor, console, window, document */
+
+import { CS_CONFIG } from '@ckeditor/ckeditor5-cloudservices/tests/_utils/cloudservices-config';
+
 ClassicEditor
 	.create( document.querySelector( '#snippet-highlight-custom-colors-inline' ), {
+		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
 				'headings', '|', 'bulletedList', 'numberedList', 'highlightDropdown', 'undo', 'redo'

+ 4 - 0
packages/ckeditor5-highlight/docs/_snippets/features/custom-highlight-colors-variables.js

@@ -4,8 +4,12 @@
  */
 
 /* globals ClassicEditor, console, window, document */
+
+import { CS_CONFIG } from '@ckeditor/ckeditor5-cloudservices/tests/_utils/cloudservices-config';
+
 ClassicEditor
 	.create( document.querySelector( '#snippet-highlight-custom-colors-variables' ), {
+		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
 				'headings', '|', 'bulletedList', 'numberedList', 'highlightDropdown', 'undo', 'redo'

+ 4 - 0
packages/ckeditor5-highlight/docs/_snippets/features/custom-highlight-options.js

@@ -4,8 +4,12 @@
  */
 
 /* globals ClassicEditor, console, window, document */
+
+import { CS_CONFIG } from '@ckeditor/ckeditor5-cloudservices/tests/_utils/cloudservices-config';
+
 ClassicEditor
 	.create( document.querySelector( '#snippet-highlight-custom-options' ), {
+		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
 				'headings', '|', 'bulletedList', 'numberedList', 'highlightDropdown', 'undo', 'redo'

+ 3 - 0
packages/ckeditor5-highlight/docs/_snippets/features/highlight-buttons.js

@@ -5,8 +5,11 @@
 
 /* globals ClassicEditor, console, window, document */
 
+import { CS_CONFIG } from '@ckeditor/ckeditor5-cloudservices/tests/_utils/cloudservices-config';
+
 ClassicEditor
 	.create( document.querySelector( '#snippet-highlight-buttons' ), {
+		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
 				'headings', '|', 'highlight:yellowMarker', 'highlight:greenMarker', 'highlight:pinkMarker',

+ 1 - 0
packages/ckeditor5-highlight/package.json

@@ -13,6 +13,7 @@
   },
   "devDependencies": {
     "@ckeditor/ckeditor5-block-quote": "^1.0.0-alpha.2",
+    "@ckeditor/ckeditor5-cloudservices": "^1.0.0-alpha.1",
     "@ckeditor/ckeditor5-editor-classic": "^1.0.0-alpha.2",
     "@ckeditor/ckeditor5-enter": "^1.0.0-alpha.2",
     "@ckeditor/ckeditor5-heading": "^1.0.0-alpha.2",