Skip to content
Start free

Template Editor JS Library

Open in ClaudeOpen in ChatGPT

This client-side JavaScript library lets you embed the DocSpring template editor on your own website.

You can also get these release notes by email.

Released on Oct 29, 2026

  • Works on a page whose Content-Security-Policy doesn’t allow inline styles (no 'unsafe-inline' in style-src). The editor’s iframe no longer has a style attribute, and the modal’s CSS is no longer a <style> element. See Content Security Policy.
  • No longer logs a Content-Security-Policy error in Chrome on a page whose script-src doesn’t allow 'unsafe-inline'. The jQuery it includes tested for an old Internet Explorer event by setting an onfocusin attribute, which the policy blocked, and the page sent a report for it if it collects them.

Released on Aug 28, 2026

  • Removed the AU region option. The AU region has been shut down, so region now accepts US or EU.

Released on Jun 25, 2026

  • Added region, host, appHost, and apiHost options for configuring US, EU, AU, and enterprise deployments.
  • Fixed editorURL message origin handling for custom embedded editor URLs.

Released on Jun 25, 2026

  • Initial release of template_editor.js
  • Added DocSpring.createTemplateEditor
  • Added inline and modal iframe support
  • Added per-embed feature overrides
  • Added event callbacks for load, save, document update, and version actions
  • Added customizable done button support with an onDone callback