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

draftToHTML with Code Blocks #427

Closed
chiedo opened this issue Aug 18, 2017 · 5 comments
Closed

draftToHTML with Code Blocks #427

chiedo opened this issue Aug 18, 2017 · 5 comments

Comments

@chiedo
Copy link

chiedo commented Aug 18, 2017

Thanks so much for adding code block support!

Sadly, the code block html is not showing up when using

draftToHtml(convertToRaw(editorContent.getCurrentContent()))

All I get is a blank where the code blocks were in the editor.

Any ideas?

@chiedo
Copy link
Author

chiedo commented Aug 18, 2017

Isolated the issue down to the draftToHTML function. I'll post in that repo!

@chiedo chiedo closed this as completed Aug 18, 2017
@chiedo
Copy link
Author

chiedo commented Aug 18, 2017

jpuri/draftjs-to-html#20

@jpuri
Copy link
Owner

jpuri commented Aug 18, 2017

I will very soon (by tomorrow) release new versions of draftjs-to-html, drafts-to-markdown and html-to-drafts.

@chiedo
Copy link
Author

chiedo commented Aug 18, 2017

Thank you!

@jpuri
Copy link
Owner

jpuri commented Aug 18, 2017

New versions of supporting libs:

draftjs-to-html@0.7.5
draftjs-to-markdown@0.4.4
html-to-draftjs@0.1.0-beta15

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

2 participants