EdutonPetrpku/Client/wwwroot/js/ckeditorinterop.js
// Initializes the XMLHttpRequest object using the URL passed to the constructor.
Initializes the XMLHttpRequest object using the URL passed to the constructor.
Initializes the XMLHttpRequest object using the URL passed to the constructor .
_initRequest() {
            const xhr = this.xhr = new XMLHttpRequest();
            xhr.open('POST', uploadToUrl, true);
            xhr.responseType = 'json';            
        }
_initRequest ( ) { const xhr = this . xhr = new XMLHttpRequest ( ) ; xhr . open ( 'POST' , uploadToUrl , true ) ; xhr . responseType = 'json' ; }
Initializes the XMLHttpRequest object using the URL passed to the constructor.
Initializes the XMLHttpRequest object using the URL passed to the constructor .
// Note that your request may look different. It is up to you and your editor // integration to choose the right communication channel. This example uses // a POST request with JSON as a data structure but your configuration // could be different.