start copy from cimac web
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
ClassicEditor
|
||||
.create( document.querySelector( '.editor' ), {
|
||||
// Editor configuration.
|
||||
} )
|
||||
.then( editor => {
|
||||
window.editor = editor;
|
||||
} )
|
||||
.catch( handleSampleError );
|
||||
|
||||
function handleSampleError( error ) {
|
||||
const issueUrl = 'https://github.com/ckeditor/ckeditor5/issues';
|
||||
|
||||
const message = [
|
||||
'Oops, something went wrong!',
|
||||
`Please, report the following error on ${ issueUrl } with the build id "ngoxwkblu379-nohdljl880ze" and the error stack trace:`
|
||||
].join( '\n' );
|
||||
|
||||
console.error( message );
|
||||
console.error( error );
|
||||
}
|
||||
Reference in New Issue
Block a user