diff --git a/web/documentserver-example/python/src/views/actions.py b/web/documentserver-example/python/src/views/actions.py index 2d2292e6..ec85436b 100755 --- a/web/documentserver-example/python/src/views/actions.py +++ b/web/documentserver-example/python/src/views/actions.py @@ -355,12 +355,20 @@ def edit(request): # an image which will be inserted into the document dataInsertImage = { - 'fileType': 'svg', - 'url': docManager.getServerUrl(True, request) + '/static/images/logo.svg', - 'directUrl': docManager.getServerUrl(False, request) + '/static/images/logo.svg' + 'images': [ + { + 'fileType': 'svg', + 'url': docManager.getServerUrl(True, request) + '/static/images/logo.svg', + 'directUrl': docManager.getServerUrl(False, request) + '/static/images/logo.svg' + } + ] } if isEnableDirectUrl else { - 'fileType': 'svg', - 'url': docManager.getServerUrl(True, request) + '/static/images/logo.svg' + 'images': [ + { + 'fileType': 'svg', + 'url': docManager.getServerUrl(True, request) + '/static/images/logo.svg' + } + ] } # a document which will be compared with the current document