ckbox/utils
@ckeditor/ckeditor5-ckbox/src/utils
module
Filtering
Functions
-
getEnvironmentId( token ) → String
module:ckbox/utils~getEnvironmentId
Returns an environment id from a token used for communication with the CKBox service.
Parameters
token : Token
Returns
String
-
getImageUrls( data = { data.token, data.id, data.origin, data.width, data.extension } ) → Object
module:ckbox/utils~getImageUrls
Creates URLs for the image:
- responsive URLs for the "webp" image format,
- one fallback URL for browsers that do not support the "webp" format.
Parameters
data : Object
-
Properties
data.token : Token
data.id : String
data.origin : String
data.width : Number
data.extension : String
Returns
Object
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.