diff --git a/packages/web/src/javascripts/Components/SuperEditor/Plugins/AutoEmbedPlugin/index.tsx b/packages/web/src/javascripts/Components/SuperEditor/Plugins/AutoEmbedPlugin/index.tsx index c81c0447e..c5245c876 100644 --- a/packages/web/src/javascripts/Components/SuperEditor/Plugins/AutoEmbedPlugin/index.tsx +++ b/packages/web/src/javascripts/Components/SuperEditor/Plugins/AutoEmbedPlugin/index.tsx @@ -24,6 +24,7 @@ import Button from '../../Lexical/UI/Button' import { DialogActions } from '../../Lexical/UI/Dialog' import { INSERT_TWEET_COMMAND } from '../TwitterPlugin' import { INSERT_YOUTUBE_COMMAND } from '../YouTubePlugin' +import { classNames } from '@standardnotes/snjs' interface PlaygroundEmbedConfig extends EmbedConfig { // Human readable name of the embeded content e.g. Tweet or Google Map. @@ -127,15 +128,11 @@ function AutoEmbedMenuItem({ onMouseEnter: () => void option: AutoEmbedOption }) { - let className = 'item' - if (isSelected) { - className += ' selected' - } return (