Editor licensing
The entire @drawmotive/editor package remains MIT licensed. All editing features are free for personal and commercial use, including import, persistence, history, clipboard and export. The MIT License permits modification and redistribution; payment is not legally required to modify MIT code. Keep the copyright and license notice, along with existing dependency and font notices.
Optional official branding removal
The standard native canvas displays powered by drawmotive.com. DrawMotive offers supported removal for US$1,000 per site per year. Contact mason@drawmotive.com with your production origin, named aliases and any development/staging origins to arrange a signed deployment key.
This is an optional service. A missing, invalid, not-yet-valid, expired or unsupported key retains the canvas branding and leaves every editing feature available. Raw documents, PNG, SVG, embedded documents and copied images remain unbranded and contain no license data, with or without a paid key.
What counts as one site?
One site means one explicitly listed production origin and its named aliases and development/staging origins. Paths, documents, editor instances and users have no separate fees. Each origin includes the scheme, host and port; matching uses complete normalized origins rather than suffixes.
| Deployment | Origin to list explicitly |
|---|---|
| Production | https://app.example.com |
| Named alias | https://www.example.com |
| Staging | https://staging.example.com |
| Local development | http://localhost:5173 |
A key for https://app.example.com does not cover https://other.example.com, an arbitrary subdomain, another scheme or a nondefault port. Default ports and host names are normalized. The actual browser page origin is checked, independently of the CDN or assetBaseUrl serving WASM. List each localhost development origin explicitly.
Standard HTTPS browser embeds are the initial paid scope. VS Code and shared-origin Forge embeds remain fully functional and branded. First-party sites use the same validation mechanism.
Use a deployment key
Install the SDK and copy its matching runtime assets as described in the Editor guide. Pass the signed key at creation:
import { createEditor } from '@drawmotive/editor';
const editor = await createEditor({
container: document.querySelector('#editor'),
assetBaseUrl: '/editor/',
licenseKey: deploymentLicenseKey,
});
const status = await editor.getLicenseStatus();The default, /browser and /core entries share this API. getLicenseStatus() returns an immutable { state: 'free' | 'licensed', reason?: string, expiresAt?: string } native snapshot. expiresAt, when present, is a UTC ISO timestamp. Status contains no original key or merchant identity. Free reasons are missing, invalid, expired, notYetValid, siteMismatch, unsupportedHost and verificationUnavailable.
C#/WASM owns signature, origin and time validation and draws the text on the native screen canvas. JavaScript relays the raw key and status. Recreate the editor to replace a deployment key, awaiting disposal of the previous instance. Licensing is separate from document health, revisions and preferences; keys are not saved into drawings.
The React Editor wrapper from @drawmotive/editor-ui accepts the same licenseKey prop and recreates its native session when it changes. Its bottom controls leave space for the native branding. Hosts that build their own controls should keep that bottom canvas row clear.
These APIs require the matching native runtime; upgrading JavaScript alone does not update an older copied WASM build.
Offline use and expiry
DrawMotive issues signed keys using local operator tooling backed by a dedicated non-exportable Azure Key Vault key. Issuance needs Key Vault connectivity; browser validation does not require activation, an account or a license server. Once runtime resources are available, validation works offline.
A key is valid from its start time through the instant before its expiry. The runtime checks the local clock during a running session and on page restoration. Expiry restores branding without a document transaction or loss of editing features. Renewal supplies a replacement key for a recreated editor instance.
Offline validation cannot provide immediate revocation or a trustworthy remote clock. Drawing into the canvas does not prevent a host from cropping, covering or modifying its browser/runtime.
Other TextGraph tools
TextGraph, the Markdown integration and the Docker renderer retain their MIT/free terms. This optional Editor service does not add a license fee to them. Site documentation remains CC BY 4.0; dependencies and fonts retain their own licenses.