-
Notifications
You must be signed in to change notification settings - Fork 1
feat: enhance exportTemplate functionality with configurable options #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
caio-pizzol
merged 1 commit into
main
from
caio/sd-882-make-exporttemplate-download-optional
Nov 13, 2025
Merged
feat: enhance exportTemplate functionality with configurable options #17
caio-pizzol
merged 1 commit into
main
from
caio/sd-882-make-exporttemplate-download-optional
Nov 13, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit updates the exportTemplate method to support a new ExportConfig interface, allowing users to specify a custom filename and control whether the download is triggered automatically or if the template is returned as a Blob for manual handling. Additionally, the README has been updated to reflect these changes, providing clear examples for both download and Blob modes.
SD-882 Make exportTemplate download optional
SummaryAdd method to export template as docx with option to receive instead of auto-download Tasks
NotesAdded
|
Contributor
Author
|
To use Codex here, create an environment for this repo. |
Contributor
Author
Contributor
Author
|
Summary
Testing
|
|
🎉 This PR is included in version 0.2.0-next.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
superdoc-bot bot
pushed a commit
that referenced
this pull request
Nov 13, 2025
# [0.2.0](v0.1.0...v0.2.0) (2025-11-13) ### Bug Fixes * force pre-release ([f752754](f752754)) * improve cleanup logic ([#11](#11)) ([01f0bf9](01f0bf9)) * update field ID type and improve field handling ([#14](#14)) ([e0e6d31](e0e6d31)) * update field IDs and categories in README and App component ([61a473d](61a473d)) ### Features * add import functionality for .docx files in the template builder ([#15](#15)) ([42faccc](42faccc)) * enhance exportTemplate functionality with configurable options ([#17](#17)) ([7e2a03d](7e2a03d)) * enhance field handling with mode support in template builder ([#16](#16)) ([d46ab5d](d46ab5d)) * implement viewport clamping for menu positioning in SuperDocTemplateBuilder ([#10](#10)) ([09e82ee](09e82ee))
|
🎉 This PR is included in version 0.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit updates the exportTemplate method to support a new ExportConfig interface, allowing users to specify a custom filename and control whether the download is triggered automatically or if the template is returned as a Blob for manual handling. Additionally, the README has been updated to reflect these changes, providing clear examples for both download and Blob modes.