CKEditor 4 reached its End of Life (EOL) in June 2023. From then on, it will receive no more updates, new features, bug fixes, and security patches. Visit CKEditor 5 Docs for the actively supported CKEditor or check Extended Support Model.
CKEDITOR.plugins.embedBase._jsonp
class
singleton
private
JSONP communication.
Filtering
Methods
-
sendRequest( urlTemplate, urlParams, callback, [ errorCallback ] ) → Object
CKEDITOR.plugins.embedBase._jsonp#sendRequest
Sends a request using the JSONP technique.
Parameters
urlTemplate : template
The template of the URL to be requested. All properties passed in
urlParams
can be used, plus a{callback}
, which represents a JSONP callback, must be defined.urlParams : Object
Parameters to be passed to the
urlTemplate
.callback : Function
[ errorCallback ] : Function
Returns
Object
The request object with a
cancel()
method.
-
Creates a
<script>
element and attaches it to the document<body>
.Parameters
url : Object
errorCallback : Object