Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Access to Markdown and Raw data #2

Open
phenomen opened this issue Sep 6, 2023 · 2 comments
Open

feature: Access to Markdown and Raw data #2

phenomen opened this issue Sep 6, 2023 · 2 comments

Comments

@phenomen
Copy link

phenomen commented Sep 6, 2023

Problem: there is no way to easily access Markdown and Raw data of the Editor component. Raw Tiptap nodes are available in the localStorage, while Markdown is only accessible with manual copy-paste from the Editor.

Possible solution: Expose those props similar to props on Melt components.

@multiplehats
Copy link

In my app where I'm using Tiptap, I store the HTML (for seo purposes when loading on the server) and the JSON for editing purpose in 2 tables. So exposing most of the tiptap stuff would be incredibly helpful

@fermellone
Copy link
Contributor

There is a tiptap extension that converts the content to markdown.
https://github.com/aguingand/tiptap-markdown

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

No branches or pull requests

3 participants