diff --git a/superset-frontend/src/dashboard/components/gridComponents/Markdown.jsx b/superset-frontend/src/dashboard/components/gridComponents/Markdown.jsx index a21402c3ab24d..9ded0646cfa9c 100644 --- a/superset-frontend/src/dashboard/components/gridComponents/Markdown.jsx +++ b/superset-frontend/src/dashboard/components/gridComponents/Markdown.jsx @@ -25,6 +25,7 @@ import { t, SafeMarkdown } from '@superset-ui/core'; import { Logger, LOG_ACTIONS_RENDER_CHART } from 'src/logger/LogUtils'; import { MarkdownEditor } from 'src/components/AsyncAceEditor'; +import HoverMenu from 'src/dashboard/components/menu/HoverMenu'; import DeleteComponentButton from 'src/dashboard/components/DeleteComponentButton'; import DragDroppable from 'src/dashboard/components/dnd/DragDroppable'; import ResizableContainer from 'src/dashboard/components/resizable/ResizableContainer'; @@ -350,6 +351,13 @@ class Markdown extends React.PureComponent { className="dashboard-component dashboard-component-chart-holder" data-test="dashboard-component-chart-holder" > + {editMode && ( + + + + )} {editMode && isEditing ? this.renderEditMode() : this.renderPreviewMode()}