mirror of https://github.com/fantasticit/think.git
tiptap: fix bubble menu
This commit is contained in:
parent
57ac872948
commit
22e48e32b3
|
@ -7,6 +7,7 @@ import { CodeBlock } from 'tiptap/core/extensions/code-block';
|
||||||
import { Countdown } from 'tiptap/core/extensions/countdown';
|
import { Countdown } from 'tiptap/core/extensions/countdown';
|
||||||
import { DocumentChildren } from 'tiptap/core/extensions/document-children';
|
import { DocumentChildren } from 'tiptap/core/extensions/document-children';
|
||||||
import { DocumentReference } from 'tiptap/core/extensions/document-reference';
|
import { DocumentReference } from 'tiptap/core/extensions/document-reference';
|
||||||
|
import { Excalidraw } from 'tiptap/core/extensions/excalidraw';
|
||||||
import { Flow } from 'tiptap/core/extensions/flow';
|
import { Flow } from 'tiptap/core/extensions/flow';
|
||||||
import { HorizontalRule } from 'tiptap/core/extensions/horizontal-rule';
|
import { HorizontalRule } from 'tiptap/core/extensions/horizontal-rule';
|
||||||
import { Iframe } from 'tiptap/core/extensions/iframe';
|
import { Iframe } from 'tiptap/core/extensions/iframe';
|
||||||
|
@ -47,6 +48,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
|
||||||
Katex.name,
|
Katex.name,
|
||||||
HorizontalRule.name,
|
HorizontalRule.name,
|
||||||
Status.name,
|
Status.name,
|
||||||
|
Excalidraw.name,
|
||||||
];
|
];
|
||||||
|
|
||||||
export const Text = ({ editor }) => {
|
export const Text = ({ editor }) => {
|
||||||
|
|
Loading…
Reference in New Issue