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

parent 8a47471d
...@@ -46,7 +46,7 @@ And use it in your website: ...@@ -46,7 +46,7 @@ And use it in your website:
window.editor = editor; window.editor = editor;
} ) } )
.catch( error => { .catch( error => {
console.error( 'There was a problem with initializing the editor', error ); console.error( 'There was a problem initializing the editor.', error );
} ); } );
</script> </script>
``` ```
...@@ -68,7 +68,7 @@ DecoupledEditor ...@@ -68,7 +68,7 @@ DecoupledEditor
window.editor = editor; window.editor = editor;
} ) } )
.catch( error => { .catch( error => {
console.error( 'There was a problem with initializing the editor', error ); console.error( 'There was a problem initializing the editor.', error );
} ); } );
``` ```
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
document.querySelector( '.editable-container' ).appendChild( editor.ui.view.editable.element ); document.querySelector( '.editable-container' ).appendChild( editor.ui.view.editable.element );
} ) } )
.catch( error => { .catch( error => {
console.error( 'There was a problem with initializing the editor', error ); console.error( 'There was a problem initializing the editor.', error );
} ); } );
</script> </script>
......
...@@ -15,5 +15,5 @@ DecoupledEditor.create( document.querySelector( '#editor' ) ) ...@@ -15,5 +15,5 @@ DecoupledEditor.create( document.querySelector( '#editor' ) )
window.editor = editor; window.editor = editor;
} ) } )
.catch( error => { .catch( error => {
console.error( 'There was a problem with initializing the editor', error ); console.error( 'There was a problem initializing the editor.', error );
} ); } );
...@@ -14,5 +14,5 @@ DecoupledEditor.create( document.querySelector( '#editor' ) ) ...@@ -14,5 +14,5 @@ DecoupledEditor.create( document.querySelector( '#editor' ) )
window.editor = editor; window.editor = editor;
} ) } )
.catch( error => { .catch( error => {
console.error( 'There was a problem with initializing the editor', error ); console.error( 'There was a problem initializing the editor.', error );
} ); } );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment