Skip to content

Commit

Permalink
Update html.mdx (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
nookery committed Sep 13, 2024
1 parent 92be9a2 commit b5d4260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/editor/api/utilities/html.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Given a JSON object, representing a prosemirror document, the `generateHTML` fun
/* IN BROWSER ONLY - See below for server-side compatible package */
import { generateHTML } from '@tiptap/core'

// Generate JSON from HTML
// Generate HTML from JSON
generateHTML(
{
type: 'doc',
Expand All @@ -47,7 +47,7 @@ generateHTML(
/* ON SERVER OR BROWSER - See above for browser only compatible package (ships less JS) */
import { generateHTML } from '@tiptap/html'

// Generate JSON from HTML
// Generate HTML from JSON
generateHTML(
{
type: 'doc',
Expand Down

0 comments on commit b5d4260

Please sign in to comment.