-
Notifications
You must be signed in to change notification settings - Fork 234
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
[draft-js-export-markdown] Add support for embeds #176
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Must be an issue with the prettier settings causing the formatting changes; which I think is holding up Travis.
Feel free to fix and land at will.
@@ -253,6 +253,8 @@ class MarkupGenerator { | |||
let src = data.src || ''; | |||
let alt = data.alt ? `${escapeTitle(data.alt)}` : ''; | |||
return `})`; | |||
} else if (entity != null && entity.getType() === 'embed') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a constant for 'embed' type? Or should we make one?
Done! |
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "draft-js-export-markdown", | |||
"version": "1.3.3", | |||
"name": "draft-js-export-markdown-fork-mxstbr", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional, or just a consequence of a git rebase?
Oh oopsie, I committed that on accident. One second... |
Kool. Just fix up the CI issues (just lint/code formatting I think) and feel free to 🚢 it! |
Done! |
No description provided.