Reference
FAQ
Short answers, with links to the full ones.
Licensing and plans#
Do my end users need accounts with Dorvyn?#
No. Your users sign in to your app as they always do. In strict mode, your server tells Dorvyn only an opaque id for each user. Plans are priced by the developers who build with Dorvyn, and cover all your end users.
Do I need strict mode?#
On the Organization plan, yes. Otherwise it's strongly recommended for any live product where people sign in: nothing in the page can be copied and used elsewhere, and usage is tracked per user. A publishable key in the page is fine for development, demos and public pages. See How licensing works.
Why does strict mode need a publishable key too?#
Its list of domains. Dorvyn makes grants only for addresses listed on a publishable key of the same application and environment. The key itself never goes in a page in strict mode.
Can I hide a publishable key in a .env file?#
No. Anything the browser uses ends up in the browser: a NEXT_PUBLIC_ or VITE_ variable is built into your JavaScript. That's expected for publishable keys, and why strict mode exists.
What happens if Dorvyn is down?#
Editing goes on for up to 24 hours on the license the editor already has. Saving as Word waits; drafts and your own saving go on. See How licensing works.
What happens when my plan ends or a payment fails?#
A failed payment gives you 7 days. After that, or when a plan ends, live keys stop getting licenses and the editor becomes read-only. Nothing is lost, and everything comes back when the plan is active. See Plans and billing.
Can I try it before paying?#
Yes. Test keys work before you choose a plan, on localhost and on any https address (so staging works too). Files saved with them carry a short test note.
Can I use one application for several products?#
You can, but separate applications keep their keys, domains and usage apart, so one product's keys can be rotated without touching another.
The editor#
Which browsers are supported?#
The current and previous major versions of Chrome, Edge, Firefox and Safari, on desktop and on tablets. The editor needs WebAssembly, which all of them have. Phones work, but editing a page-based document on a small screen is best kept to light changes.
Does it work offline?#
Once loaded and licensed, yes, for up to 24 hours: editing, drafts, and saving as a web page or text. Saving as Word needs a connection.
Can I use my own toolbar instead of the ribbon?#
Yes. Every action is a command. See Building your own ribbon and Commands, state and lists.
Can I change how the page itself looks?#
The page always lays out like Word, so documents look the same in your app, in Word, and in the saved file. You can theme everything around it: see Theming and branding.
Can people close the app and continue where they left off?#
Yes. Save the document's JSON on your server (onSave, or getDocument() as they type) and open it next time with setDocument: text, formatting, pictures, tables, headers and footers, page setup and comments all come back. The cursor position and undo history don't; it opens at the top. Complete code: React, Next.js.
Can my server turn a saved document into a Word file?#
Not on its own. A Word file is made by the editor open in a browser, for the person using it: exportDocument("docx") gives you the file to download or upload to your server. See Opening and saving documents.
Can two people edit the same document at once?#
Not yet: each editor edits its own copy. Keep documents in your own storage and decide who saves last, or lock a document while someone edits it.
Does it support tracked changes?#
Not yet. Comments are supported, and kept when saving as Word.
Can it make PDFs?#
Print (print command, Ctrl+P) and choose "Save as PDF" in the browser's print dialog.
How large can documents be?#
Editing has no limit of its own, but very large documents get slower in the browser, as in any editor. Saving as Word is limited by your plan (25 MB on Developer, 50 MB on Team). Pictures are most of a document's size.
Can I put several editors on one page?#
Yes, each in its own <dorvyn-editor> with its own autosave-key. Keyboard shortcuts go to the one with the focus.
Does it work in Electron, Tauri or a WebView?#
It works anywhere a modern browser engine runs. The editor checks its license against the page's address, so serve your app from an https:// address listed on your key, or use http://localhost with a test key during development.
Your data#
Does Dorvyn see our documents?#
Not while they're edited, and never as drafts. Only saving as Word sends the document to Dorvyn's export service, which keeps nothing. With self-hosted export (Organization plan), not even that. See Security and privacy.
Where are documents stored?#
Wherever you choose: the editor gives you the document as data or as a file. Dorvyn doesn't store documents. See Opening and saving documents.
Can our data stay in the EU?#
On the Organization plan, Dorvyn can keep saving as Word within the EU. Editing already happens in your users' browsers.
Accounts and teams#
Someone who set things up has left. What do we do?#
If they were the only owner, contact support@dorvyn.dev from your company's domain. Otherwise, an owner removes them on Team, then replaces any secret key they could see. Your applications keep working, because keys belong to applications, not people.
How do we move to single sign-on?#
Single sign-on is part of the Organization plan. Contact sales from Billing, and Dorvyn sets it up for your email domain with you.