diff --git a/packages/slate-editor/src/icons/index.ts b/packages/slate-editor/src/icons/index.ts index 39c31f847..5f3ad8826 100644 --- a/packages/slate-editor/src/icons/index.ts +++ b/packages/slate-editor/src/icons/index.ts @@ -55,7 +55,6 @@ export { default as ComponentPinterest } from './Component-Pinterest.svg'; export { default as ComponentPodcast } from './Component-Podcast.svg'; export { default as ComponentQuote } from './Component-Quote.svg'; export { default as ComponentSnippet } from './Component-Snippet.svg'; -export { default as ComponentSocialPost } from './Component-Social-Post.svg'; export { default as ComponentSoundCloud } from './Component-SoundCloud.svg'; export { default as ComponentSpotify } from './Component-Spotify.svg'; export { default as ComponentStoryBookmark } from './Component-Story-Bookmark.svg'; diff --git a/packages/slate-editor/src/modules/editor/menuOptions.tsx b/packages/slate-editor/src/modules/editor/menuOptions.tsx index 5fec891fb..bf239fc20 100644 --- a/packages/slate-editor/src/modules/editor/menuOptions.tsx +++ b/packages/slate-editor/src/modules/editor/menuOptions.tsx @@ -257,7 +257,7 @@ function* generateOptions( if (withEmbedSocial) { yield { action: MenuAction.ADD_EMBED_SOCIAL, - icon: Icons.ComponentSocialPost, + icon: Icons.Embed, group: Group.MEDIA_CONTENT, text: 'Social post', description: 'Embed a social media link',