Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

RELEASE 2.9.5 OR ABOVE

Upload all images included in the body as base64 encoded. The uploaded image's src attribute is changed to the uploadPath value returned from the server.


Parameters:

Name

Type

Attribute

Description

callbackFunc

Function
Set the callback function to be executed after uploading all images. (optional)


Example:

Promise 사용
editor.uploadBase64Images().then(function() {
    editor.getPublishingHtml();
});


Callback 함수 사용
function callback() {
    editor.getPublishingHtml();
}
editor.uploadBase64Images(callback);
  • No labels