@tiptap-pro/extension-import-docx changelog
Changelog for @tiptap-pro/extension-import-docx
0.10.0
Minor Changes
-
Configurable header/footer placeholders with end-to-end DOCX round-trip support.
- Pages: new
placeholdersoption to rename the built-in{page}/{total}tokens or disable substitution. Defaults preserve existing behavior. - ExportDocx: header/footer text now translates registered tokens into live Word
PAGE/NUMPAGESfields instead of literal text. When the Pages extension is installed, the export auto-picks up itsplaceholdersconfig so the editor preview and the exported.docxstay aligned. Body content is never substituted. - ImportDocx: the importer now forwards
Pages.options.placeholdersto the convert service so WordPAGE/NUMPAGESfields come back as text tokens that match your active Pages registry —{page}/{total}by default, or your rename. The editor preview substitutes the imported tokens natively, with no.replace()step and noplaceholders: { total: 'numpages' }workaround. Passplaceholders: falseon the command to opt out, orplaceholders: { page, total }to override the editor's registry per-call.
The convert service exposes the same
placeholdersfield on/import/docxand/export/docxfor direct REST API callers who want the same control without an editor. - Pages: new
0.9.0
Minor Changes
- Address side-effect type import to load module augmentation (Commands) from extension-pages
0.8.0
Minor Changes
-
Add
imageUploadConfigoption for structured image upload configuration during DOCX import.The new
imageUploadConfigoption replaces the deprecatedimageUploadCallbackUrlstring and gives full control over how the convert service uploads images found in imported DOCX files:url(required) — the endpoint that receives uploaded imagesheaders— custom HTTP headers (e.g.,Authorization: Bearer ...) forwarded to the upload endpoint, typed asHeadersInitfor full Fetch API compatibilitymethod— HTTP method for the upload request, typed asRequestInit['method']queryParams— query parameters appended to the upload URL
The extension validates that
urlis a well-formed HTTP/HTTPS URL and throws anImageUploadConfigValidationErrorif not. When bothimageUploadConfigand the deprecatedimageUploadCallbackUrlare provided,imageUploadConfigtakes precedence and a console warning is emitted.Migration: replace
imageUploadCallbackUrl: 'https://...'withimageUploadConfig: { url: 'https://...' }.
0.7.0
Minor Changes
- Initial beta point for export and pages packages
3.0.0-beta.31
3.0.0-beta.30
Patch Changes
- Bumped Tiptap and Hocuspocus Dependencies to most recent version
3.0.0-beta.29
3.0.0-beta.28
3.0.0-beta.27
3.0.0-beta.26
3.0.0-beta.25
Patch Changes
- Bumped @tiptap and @hocuspocus dependencies
3.0.0-beta.24
Patch Changes
- Bump tiptap and hocuspocus dependencies
3.0.0-beta.23
3.0.0-beta.22
Patch Changes
- upgraded hocuspocus and tiptap dependencies
3.0.0-beta.21
3.0.0-beta.20
Patch Changes
- Bumped tiptap and hocuspocus dependencies
3.0.0-beta.19
3.0.0-beta.18
Patch Changes
- updated tiptap and hocuspocus dependencies
3.0.0-beta.17
3.0.0-beta.16
Patch Changes
- Updated tiptap packages
3.0.0-beta.15
Major Changes
- Updated all tiptap dependencies
3.0.0-next.0
Patch Changes
- Initialized Changesets
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.17.5 (2025-02-26)
Note: Version bump only for package @tiptap-pro/extension-import
2.17.4 (2025-02-11)
Note: Version bump only for package @tiptap-pro/extension-import
2.17.3 (2025-01-30)
Features
- add a header for identifying which extension ran the export/import (fbbe521)
2.17.2 (2025-01-07)
Bug Fixes
- import: resolve markdown file types (cab71cb)
2.17.1 (2024-12-30)
Note: Version bump only for package @tiptap-pro/extension-import
2.17.0 (2024-12-20)
Features
2.16.3 (2024-11-28)
Bug Fixes
2.16.2 (2024-11-27)
Note: Version bump only for package @tiptap-pro/extension-import
2.16.1 (2024-11-26)
Bug Fixes
- mathematics: do some bounds checking to make the root doc not be asked what it's before or after is (#140) (7af2b73)
2.16.0 (2024-11-25)
Note: Version bump only for package @tiptap-pro/extension-import
2.15.0 (2024-11-20)
Note: Version bump only for package @tiptap-pro/extension-import
2.14.1 (2024-11-14)
Note: Version bump only for package @tiptap-pro/extension-import
2.14.0 (2024-11-07)
Note: Version bump only for package @tiptap-pro/extension-import
2.13.0 (2024-10-31)
Features
2.11.9 (2024-10-02)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.8 (2024-10-02)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.7 (2024-09-27)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.6 (2024-09-27)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.5 (2024-09-27)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.4 (2024-09-26)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.3 (2024-09-24)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.2 (2024-08-30)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.1 (2024-08-23)
Note: Version bump only for package @tiptap-pro/extension-import
2.11.0 (2024-08-21)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.11 (2024-08-09)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.10 (2024-08-08)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.9 (2024-08-06)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.8 (2024-08-06)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.7 (2024-07-31)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.6 (2024-07-31)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.5 (2024-07-26)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.4 (2024-07-26)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.3 (2024-07-16)
Note: Version bump only for package @tiptap-pro/extension-import
2.10.2 (2024-07-15)
Note: Version bump only for package @tiptap-pro/extension-import