fix bug
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import getSchema from '@tiptap/core'
|
import { Extensions, getSchema } from '@tiptap/core'
|
||||||
import getHtmlFromFragment from './getHtmlFromFragment'
|
|
||||||
import { Node } from 'prosemirror-model'
|
import { Node } from 'prosemirror-model'
|
||||||
import { Extensions } from '@tiptap/core'
|
import getHtmlFromFragment from './getHtmlFromFragment'
|
||||||
|
|
||||||
export default function generateHtml(doc: object, extensions: Extensions): string {
|
export default function generateHtml(doc: object, extensions: Extensions): string {
|
||||||
const schema = getSchema(extensions)
|
const schema = getSchema(extensions)
|
||||||
|
|||||||
Reference in New Issue
Block a user