mirror of https://github.com/fantasticit/think.git
feat: use wrapped tooltip
This commit is contained in:
parent
fda147c492
commit
d71d725dcf
|
@ -1,6 +1,7 @@
|
|||
import React from 'react';
|
||||
import { Space, Button, Tooltip } from '@douyinfe/semi-ui';
|
||||
import { Space, Button } from '@douyinfe/semi-ui';
|
||||
import { IconUndo, IconRedo } from '@douyinfe/semi-icons';
|
||||
import { Tooltip } from 'components/tooltip';
|
||||
import { IconClear } from 'components/icons';
|
||||
import { Divider } from './components/divider';
|
||||
import { MediaInsertMenu } from './menus/mediaInsert';
|
||||
|
|
|
@ -3,7 +3,6 @@ import { Editor } from '@tiptap/core';
|
|||
import { Button, Dropdown, Popover } from '@douyinfe/semi-ui';
|
||||
import { IconPlus } from '@douyinfe/semi-icons';
|
||||
import { Tooltip } from 'components/tooltip';
|
||||
import { Upload } from './components/upload';
|
||||
import {
|
||||
IconDocument,
|
||||
IconMind,
|
||||
|
@ -18,7 +17,6 @@ import {
|
|||
} from 'components/icons';
|
||||
import { GridSelect } from 'components/grid-select';
|
||||
import { isTitleActive } from '../services/isActive';
|
||||
import { handleFileEvent } from '../services/upload';
|
||||
|
||||
export const MediaInsertMenu: React.FC<{ editor: Editor }> = ({ editor }) => {
|
||||
if (!editor) {
|
||||
|
|
Loading…
Reference in New Issue