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

Version 1 Next »

릴리즈 2.4.1 이상

에디터 객체에 api, params를 입력 하여 임포트 할 수 있는 API를 제공합니다.


Parameters:

Name

Type

Description

apiString서버로 요청할 api
paramsObjectapi request에 설정할 parameter
bOverwriteBoolean임포트시 덮어쓰기 (true인 경우 덮어쓰기)


참고) 절대 경로를 활용한 import

문서의 서버 절대경로 path를 params로 받아 서버 import 로직에서 활용하여 임포트가 가능합니다.


Example:

const api = "./importOnServer";
const params = { path: "D:\test.docx" };
editor.openDocumentOnServer(api, params, true);






  • No labels