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

Custom markup transformation #3

Closed
tammomueller opened this issue Feb 1, 2017 · 1 comment
Closed

Custom markup transformation #3

tammomueller opened this issue Feb 1, 2017 · 1 comment

Comments

@tammomueller
Copy link
Contributor

tammomueller commented Feb 1, 2017

@jpuri PR #2

We added functionality to transform custom entities to HTML. As you may recall one of the PRs we created for the editor allowed us to embed tweets, instagram posts, etc.

This is the counter part that allows the transformation of these entities into HTML.
This change is backwards compatible and will not break earlier versions of the package.

Also this PR will take care of PR #1 as you can define your own transformation for link entity.

@jpuri
Copy link
Owner

jpuri commented Feb 5, 2017

Just released draftjs-to-html@0.6.0 merging the PR. I have renamed the parameter to customEntityTransform as it was too long.

Thanks a lot 👍

@jpuri jpuri closed this as completed Feb 5, 2017
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