is demo config with token,
var config =
{
"document": {
"fileType": "docx",
"key": "D24A82226BDE9A2",
"title": "Example Document Title.docx",
"url":"http://172.16.3.218:8080/onlyoffice/download/1082"
},
"documentType": "word",
"editorConfig": {
"mode": "view"
},
"height": "100%",
"width": "100%",
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJmaWxlVHlwZSI6ImRvY3giLCJrZXkiOiJEMjRBODIyMjZCREU5QTIiLCJ0aXRsZSI6IkV4YW1wbGUgRG9jdW1lbnQgVGl0bGUuZG9jeCIsInVybCI6Imh0dHA6Ly8xNzIuMTYuMy4yMTg6ODA4MC9vbmx5b2ZmaWNlL2Rvd25sb2FkLzEwODIifSwiZG9jdW1lbnRUeXBlIjoid29yZCIsImVkaXRvckNvbmZpZyI6eyJtb2RlIjoidmlldyJ9LCJoZWlnaHQiOiIxMDAlIiwid2lkdGgiOiIxMDAlIn0.hlMD-JNY80hu9GDY-18E_9BTH_avygzBp0BZbC6YgX8"
};
var docEditor = new DocsAPI.DocEditor("placeholder", config);
is my test file Processing: Example Document Title.docx…,oh,sry,i can’t upload docx file,only allow upload img extend file,
this is chinese words.
i think my document server have some thing system envriment problem,so ,i find this guide document
how to add fonts,finally ,not help me to detail this encoding problem
@Constantine @Carl