mirror of https://github.com/fantasticit/think.git
tiptap: hide text bubble menu in HorizontalRule
This commit is contained in:
parent
2517a8b577
commit
ef7c23232d
|
@ -25,6 +25,7 @@ import { TableOfContents } from 'tiptap/core/extensions/table-of-contents';
|
|||
import { Katex } from 'tiptap/core/extensions/katex';
|
||||
import { DocumentReference } from 'tiptap/core/extensions/document-reference';
|
||||
import { DocumentChildren } from 'tiptap/core/extensions/document-children';
|
||||
import { HorizontalRule } from 'tiptap/core/extensions/horizontal-rule';
|
||||
|
||||
const OTHER_BUBBLE_MENU_TYPES = [
|
||||
Title.name,
|
||||
|
@ -40,6 +41,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
|
|||
DocumentReference.name,
|
||||
DocumentChildren.name,
|
||||
Katex.name,
|
||||
HorizontalRule.name,
|
||||
];
|
||||
|
||||
export const Text = ({ editor }) => {
|
||||
|
|
Loading…
Reference in New Issue