Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(block-write): add duplicate option to Word document file menu (#8551)

Jacob Beckerman596ace652e59
diff --git a/apps/web/src/features/block-write/DocxBlock.tsx b/apps/web/src/features/block-write/DocxBlock.tsx
index 26b816c88f..12972c2a20 100644
--- a/apps/web/src/features/block-write/DocxBlock.tsx
+++ b/apps/web/src/features/block-write/DocxBlock.tsx
@@ -131,7 +131,12 @@ export default function DocxBlock(props: { share?: string }) {
id={documentId}
itemType="document"
name={name()}
- ops={[{ op: 'rename' }, { op: 'moveToProject' }, { op: 'delete' }]}
+ ops={[
+ { op: 'rename' },
+ { op: 'copy' },
+ { op: 'moveToProject' },
+ { op: 'delete' },
+ ]}
tools={[
{
group: 'sharing',