redact: unify save to single 'Save to My Docs' button; fix DOCX content type
- Remove js-save-corpus button from redact output (was failing with 'no_workspace' for users without a linked CaveauAI workspace) - Single save path now goes through showSaveResultButton() → api/case/save-result.php, which works for all paid (Plus/Pro) users without workspace dependency - Relabel 'Save result' → 'Save to My Docs' and update success message - Fix DOCX: contentTypesXml() had wrong ContentType for docProps/core.xml (application/package/... → application/vnd.openxmlformats-package.core-properties+xml); Word validates this strictly and was rejecting the file Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -88,7 +88,7 @@ function contentTypesXml(): string
|
||||
. '<Default Extension="xml" ContentType="application/xml"/>'
|
||||
. '<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>'
|
||||
. '<Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>'
|
||||
. '<Override PartName="/docProps/core.xml" ContentType="application/package/2006/metadata/core-properties+xml"/>'
|
||||
. '<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>'
|
||||
. '</Types>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user