Template Editor JS Library
This client-side JavaScript library lets you embed the DocSpring template editor on your own website.
Embed the Template EditorLearn how to embed the template editor iframe
You can also get these release notes by email.
Changelog
Section titled “Changelog”0.1.3 Latest
Section titled “0.1.3 ”Released on Oct 29, 2026
- Works on a page whose Content-Security-Policy doesn’t allow inline styles
(no
'unsafe-inline'instyle-src). The editor’s iframe no longer has astyleattribute, 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-srcdoesn’t allow'unsafe-inline'. The jQuery it includes tested for an old Internet Explorer event by setting anonfocusinattribute, which the policy blocked, and the page sent a report for it if it collects them.
Released on Aug 28, 2026
- Removed the
AUregion option. The AU region has been shut down, soregionnow acceptsUSorEU.
Released on Jun 25, 2026
- Added
region,host,appHost, andapiHostoptions for configuring US, EU, AU, and enterprise deployments. - Fixed
editorURLmessage 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
onDonecallback