mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix #155
This commit is contained in:
parent
e5deb5e3d4
commit
e3a34f78b8
@ -18,21 +18,21 @@ import OrderedList, { OrderedListOptions } from '@tiptap/extension-ordered-list'
|
||||
import ListItem, { ListItemOptions } from '@tiptap/extension-list-item'
|
||||
|
||||
export function defaultExtensions(options?: Partial<{
|
||||
dropursor: DropcursorOptions,
|
||||
paragraph: ParagraphOptions,
|
||||
history: HistoryOptions,
|
||||
bold: BoldOptions,
|
||||
italic: ItalicOptions,
|
||||
code: CodeOptions,
|
||||
codeBlock: CodeBlockOptions,
|
||||
heading: HeadingOptions,
|
||||
hardBreak: HardBreakOptions,
|
||||
strike: StrikeOptions,
|
||||
blockquote: BlockquoteOptions,
|
||||
horizontalRule: HorizontalRuleOptions,
|
||||
bulletList: BulletListOptions,
|
||||
orderedList: OrderedListOptions,
|
||||
listItem: ListItemOptions,
|
||||
dropursor: Partial<DropcursorOptions>,
|
||||
paragraph: Partial<ParagraphOptions>,
|
||||
history: Partial<HistoryOptions>,
|
||||
bold: Partial<BoldOptions>,
|
||||
italic: Partial<ItalicOptions>,
|
||||
code: Partial<CodeOptions>,
|
||||
codeBlock: Partial<CodeBlockOptions>,
|
||||
heading: Partial<HeadingOptions>,
|
||||
hardBreak: Partial<HardBreakOptions>,
|
||||
strike: Partial<StrikeOptions>,
|
||||
blockquote: Partial<BlockquoteOptions>,
|
||||
horizontalRule: Partial<HorizontalRuleOptions>,
|
||||
bulletList: Partial<BulletListOptions>,
|
||||
orderedList: Partial<OrderedListOptions>,
|
||||
listItem: Partial<ListItemOptions>,
|
||||
}>) {
|
||||
return [
|
||||
Document,
|
||||
|
Loading…
Reference in New Issue
Block a user