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

Allow storing editor content as HTML #61

Closed
perryraskin opened this issue Jun 28, 2023 · 4 comments
Closed

Allow storing editor content as HTML #61

perryraskin opened this issue Jun 28, 2023 · 4 comments

Comments

@perryraskin
Copy link

perryraskin commented Jun 28, 2023

Can we have an option to store the editor content as HTML? Or at least, is there an easy way to generate the raw HTML from the editor content?

EDIT: Looks like TipTap allows the following? Just confirming that this would work:

const html = editor.getHTML()
@Amsalak
Copy link

Amsalak commented Jun 29, 2023

Teşekkür ederim

@abhijain1705
Copy link

you mean to say, whatever design user will apply a function will generate html code for it?

@steven-tey
Copy link
Owner

Yup, that works @perryraskin! :)

@guillaumeduhan
Copy link

Thanks @steven-tey @perryraskin that was exactly what I was looking for!

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

5 participants