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(md): fix media uplaod confirm effect writing to doc history (#4330)

Seamus14845d6fc495
diff --git a/js/app/packages/core/component/LexicalMarkdown/plugins/media/mediaPlugin.ts b/js/app/packages/core/component/LexicalMarkdown/plugins/media/mediaPlugin.ts
index 4bfa34e266..1641ebb30a 100644
--- a/js/app/packages/core/component/LexicalMarkdown/plugins/media/mediaPlugin.ts
+++ b/js/app/packages/core/component/LexicalMarkdown/plugins/media/mediaPlugin.ts
@@ -304,7 +304,7 @@ function registerMediaPlugin(editor: LexicalEditor) {
mediaType,
]);
},
- { discrete: true }
+ { discrete: true, tag: 'historic' }
);
};