feat(ee): docx word export (#2294)

* vendorize  prosemirror-docx - wip
* feat(ee): docx word export
* sync
This commit is contained in:
Philip Okugbe
2026-06-20 14:23:56 +01:00
committed by GitHub
parent aa5d52ad3e
commit 510199cf04
20 changed files with 1771 additions and 103 deletions
+5 -1
View File
@@ -10,7 +10,11 @@ const api: AxiosInstance = axios.create({
api.interceptors.response.use(
(response) => {
// we need the response headers for these endpoints
const exemptEndpoints = ["/api/pages/export", "/api/spaces/export"];
const exemptEndpoints = [
"/api/pages/export",
"/api/spaces/export",
"/api/docx-export",
];
if (response.request.responseURL) {
const path = new URL(response.request.responseURL)?.pathname;
if (path && exemptEndpoints.includes(path)) {