mirror of https://github.com/fantasticit/think.git
fix: do not show bubble menu in code block
This commit is contained in:
parent
468709cee0
commit
4ea4d2859b
|
@ -6,6 +6,7 @@ import { Link } from '../extensions/link';
|
||||||
import { Attachment } from '../extensions/attachment';
|
import { Attachment } from '../extensions/attachment';
|
||||||
import { Image } from '../extensions/image';
|
import { Image } from '../extensions/image';
|
||||||
import { Banner } from '../extensions/banner';
|
import { Banner } from '../extensions/banner';
|
||||||
|
import { CodeBlock } from '../extensions/code-block';
|
||||||
import { Status } from '../extensions/status';
|
import { Status } from '../extensions/status';
|
||||||
import { HorizontalRule } from '../extensions/horizontal-rule';
|
import { HorizontalRule } from '../extensions/horizontal-rule';
|
||||||
import { Iframe } from '../extensions/iframe';
|
import { Iframe } from '../extensions/iframe';
|
||||||
|
@ -24,6 +25,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
|
||||||
Attachment.name,
|
Attachment.name,
|
||||||
Image.name,
|
Image.name,
|
||||||
Banner.name,
|
Banner.name,
|
||||||
|
CodeBlock.name,
|
||||||
Status.name,
|
Status.name,
|
||||||
Iframe.name,
|
Iframe.name,
|
||||||
Mind.name,
|
Mind.name,
|
||||||
|
|
Loading…
Reference in New Issue