Connect You All DocsWord Editor Ready
Margins:
Page:
Line spacing:
Words: 0 Characters: 0 No spaces: 0
100%
Page 1 0 words 0 characters 0 min read Autosave on · stored on this device only
'; } return ''+head+''+editor.innerHTML+''; } document.getElementById('exportDoc').addEventListener('click',function(){ download(docTitle().replace(/[\\/:*?"<>|]/g,'-')+'.doc',standaloneHtml(true),'application/msword'); }); document.getElementById('exportHtml').addEventListener('click',function(){ download(docTitle().replace(/[\\/:*?"<>|]/g,'-')+'.html',standaloneHtml(false),'text/html'); }); document.getElementById('exportTxt').addEventListener('click',function(){ download(docTitle().replace(/[\\/:*?"<>|]/g,'-')+'.txt',editor.innerText||'','text/plain'); }); var printBox=document.getElementById('wdPrint'); window.addEventListener('beforeprint',function(){printBox.innerHTML=editor.innerHTML;}); document.getElementById('printDoc').addEventListener('click',function(){ printBox.innerHTML=editor.innerHTML; window.print(); }); /* ---------- restore & init ---------- */ (function init(){ try{ var t=localStorage.getItem(LS_TITLE); var h=localStorage.getItem(LS_HTML); if(t)titleInput.value=t; if(h)editor.innerHTML=h; }catch(e){} normalizeEmpty(); updateCounts(); applyZoom(); if(editor.textContent.trim()===''&&!localStorage.getItem(LS_HTML))saveState.textContent='Ready'; else saveState.textContent='Restored from this device'; })(); })();
v118 NAV