Verve N Veda Pro Tools Repository · PROSE™ Editorial Suite

Find & Replace

Comments

Optional: highlight text in the document first; the highlight snippet will be saved with the comment.

Templates & Snippets

Applying a template can replace the current document if you choose to overwrite.

Table of Contents

Use the Block → Heading options in the toolbar to create TOC entries.

Writing Goals

Progress updates live as you type.

Outliner

Stored with your document in the local mini-cloud.

Footnotes

Non-destructive: this will not alter your main text, just stores references alongside it.

Mini Thesaurus

Offline mini-lexicon only (safe words baked in). You can expand the list inside the script.

Versions & Snapshots

Stores a copy of title + document in localStorage. Up to 20 versions.

Export & Restore

Everything is stored locally in your browser. No network, no external storage.

Images in Document

Click a thumbnail to jump. Edit alt text for accessibility; captions live under each image.

Document Library

Create a fresh page and keep your recent docs below.
All items live only in this browser. Click a title to switch docs.

Private Thoughts Chamber

For emotions, decompression, and side-notes. Stored locally with this document and not exported.

AuroraCore (AI) Scratchpad

Offline “quantum” pass across clarity, rhythm, and filler words.
This helper never sends data anywhere. All analysis is local-only.
Saved
"; exportFile(safeFilename(doc.title)+".html", html, "text/html"); }; $("#prose-export-text").onclick = function(){ const doc = getDoc(); const tmp = document.createElement("div"); tmp.innerHTML = doc.content; const text = (tmp.innerText || tmp.textContent || ""); exportFile(safeFilename(doc.title)+".txt", text, "text/plain"); }; $("#prose-restore-latest").onclick = function(){ loadDocFromStorage(); showToast("Restored last saved"); }; /* ---------- Templates ---------- */ $("#prose-template-apply").onclick = function(){ const val = $("#prose-template-select").value; let title = "Untitled Document"; let body = "


"; if(val === "essay5"){ title = "Essay Title"; body = "

Essay Title

Introductory paragraph…

Point One

Support…

Point Two

Support…

Point Three

Support…

Conclusion

Wrap-up…

"; }else if(val === "story"){ title = "Story Title"; body = "

Story Title

The night before everything changed, the world still looked ordinary.

"; }else if(val === "letter"){ title = "Letter"; body = "

Dear __________,

I hope this message finds you well.

[Body]

With care,

[Your name]

"; }else if(val === "article"){ title = "Article Title"; body = "

Article Title

Subtitle or hook sentence.

Section 1

…

Section 2

…

"; } if((editor.innerText || editor.textContent || "").trim().length){ if(!confirm("Replace current document with the selected template?")) return; } titleInput.value = title; editor.innerHTML = body; refreshState(); queueAutosave(); }; /* ---------- INIT ---------- */ function verifyCoreControls(){ const required = [ "#prose-editor","#prose-title","#prose-save-button", "#prose-find-btn","#prose-export-html","#prose-new-doc" ]; const missing = required.filter(sel=>!$(sel)); if(missing.length){ console.error("PROSE missing required controls:", missing); setSaveStatus("A required editor control is missing.", "error"); return false; } return true; } verifyCoreControls(); wordBank = defaultWordBank.slice(); renderWordBank(); renderComments(); renderVersions(); renderRecents(); applyDoc(null); // ensure defaults loadDocFromStorage(); // then try saved refreshState(); updateToneStatus(); })();