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

React Components as HTML of the Editor #11

Open
oyeanuj opened this issue Jan 6, 2016 · 1 comment
Open

React Components as HTML of the Editor #11

oyeanuj opened this issue Jan 6, 2016 · 1 comment

Comments

@oyeanuj
Copy link

oyeanuj commented Jan 6, 2016

Hi @wangzuo! Thank you for porting medium-editor to React!

Can I modify the content of the Editor to be a component rather than pure HTML tags?

For example, instead of <a href=..>, I would like the editor to instead display my react anchor component <FancyAnchor href=... /> which might have a different visual treatment. How do you suggest I achieve it?

@shark0der
Copy link
Contributor

Unless you'll find a way to do this using medium-editor itself, I don't think there's currently support for this.

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