fix: do not show bubble menu in code block

This commit is contained in:
fantasticit 2022-03-31 23:07:33 +08:00
parent 468709cee0
commit 4ea4d2859b
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import { Link } from '../extensions/link';
import { Attachment } from '../extensions/attachment';
import { Image } from '../extensions/image';
import { Banner } from '../extensions/banner';
import { CodeBlock } from '../extensions/code-block';
import { Status } from '../extensions/status';
import { HorizontalRule } from '../extensions/horizontal-rule';
import { Iframe } from '../extensions/iframe';
@ -24,6 +25,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
Attachment.name,
Image.name,
Banner.name,
CodeBlock.name,
Status.name,
Iframe.name,
Mind.name,