Skip to content

Conversation

@hanspagel
Copy link
Contributor

@hanspagel hanspagel commented May 5, 2021

This PR adds two new utility functions to generate JSON from a given HTML string.

  • generateJSON(html, extensions) in @tiptap/core (requires a browser, lightweight)
  • generateJSON(html, extensions) in @tiptap/html (works everywhere)

Should we add a new @tiptap/json package? Or should we keep it in the @tiptap/html package?

For more context, see #1042

@hanspagel hanspagel requested a review from philippkuehn May 5, 2021 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants