feat: google sheets embed (#615)

This commit is contained in:
Hoie Kim
2025-01-11 14:22:06 -08:00
committed by GitHub
parent f3dbf7cc5d
commit 5fece5fc68
4 changed files with 42 additions and 0 deletions

View File

@ -34,6 +34,7 @@ import {
FigmaIcon,
FramerIcon,
GoogleDriveIcon,
GoogleSheetsIcon,
LoomIcon,
MiroIcon,
TypeformIcon,
@ -442,6 +443,15 @@ const CommandGroups: SlashMenuGroupedItemsType = {
editor.chain().focus().deleteRange(range).setEmbed({ provider: 'gdrive' }).run();
},
},
{
title: "Google Sheets",
description: "Embed Google Sheets content",
searchTerms: ["google sheets", "gsheets"],
icon: GoogleSheetsIcon,
command: ({ editor, range }: CommandProps) => {
editor.chain().focus().deleteRange(range).setEmbed({ provider: 'gsheets' }).run();
},
},
],
};