rename HTML function names
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
import generateHtml from '@tiptap/html'
|
||||
import { generateHTML } from '@tiptap/html'
|
||||
import Document from '@tiptap/extension-document'
|
||||
import Paragraph from '@tiptap/extension-paragraph'
|
||||
import Text from '@tiptap/extension-text'
|
||||
|
||||
describe('generateHtml', () => {
|
||||
describe('generateHTML', () => {
|
||||
it('generate HTML from JSON without an editor instance', () => {
|
||||
const json = {
|
||||
type: 'document',
|
||||
@@ -18,7 +18,7 @@ describe('generateHtml', () => {
|
||||
}],
|
||||
}
|
||||
|
||||
const html = generateHtml(json, [
|
||||
const html = generateHTML(json, [
|
||||
Document(),
|
||||
Paragraph(),
|
||||
Text(),
|
||||
Reference in New Issue
Block a user