@shakrmedia/editor-sdk ShakrEditor > setImage

ShakrEditor.setImage() method#

Warning: This API is now obsolete.

Use ShakrEditor constructor's ShakrEditorOptions.theme option instead.

Update logo image in Shakr Editor. This method cannot be called while Shakr Editor is opened.

Signature:
setImage(url: string): void;

Parameters#

ParameterTypeDescription
urlstringurl of the logo image
Returns:

void