Bladeren bron

Minor improvements to error messages used in manual tests and a sample. [skip ci]

Aleksander Nowodzinski 6 jaren geleden
bovenliggende
commit
f973214339

+ 2 - 2
packages/ckeditor5-build-decoupled-document/README.md

@@ -46,7 +46,7 @@ And use it in your website:
 			window.editor = editor;
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 </script>
 ```
@@ -68,7 +68,7 @@ DecoupledEditor
 			window.editor = editor;
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 ```
 

+ 1 - 1
packages/ckeditor5-build-decoupled-document/sample/index.html

@@ -65,7 +65,7 @@
 			document.querySelector( '.editable-container' ).appendChild( editor.ui.view.editable.element );
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 </script>
 

+ 1 - 1
packages/ckeditor5-build-decoupled-document/tests/manual/ckeditor-cjs-version.js

@@ -15,5 +15,5 @@ DecoupledEditor.create( document.querySelector( '#editor' ) )
 		window.editor = editor;
 	} )
 	.catch( error => {
-		console.error( 'There was a problem with initializing the editor', error );
+		console.error( 'There was a problem initializing the editor.', error );
 	} );

+ 1 - 1
packages/ckeditor5-build-decoupled-document/tests/manual/ckeditor.js

@@ -14,5 +14,5 @@ DecoupledEditor.create( document.querySelector( '#editor' ) )
 		window.editor = editor;
 	} )
 	.catch( error => {
-		console.error( 'There was a problem with initializing the editor', error );
+		console.error( 'There was a problem initializing the editor.', error );
 	} );