Skip to content

Conversation

@mslourens
Copy link
Contributor

fixes issue #1086 - only paste the created image tag over the current selection, not the start and end of the whole textarea.

@mslourens
Copy link
Contributor Author

Can someone with knowledge about the tests have a look at my failing build, because I don't know why it's failing, it succeeded on my pc. This test is failing reorderFolder-test with this error message: TypeError: Cannot read property 'key' of undefined

@kazup01
Copy link
Member

kazup01 commented Nov 14, 2017

@mslourens Thank you for your contribution!
After "restart build", I could fix the failing.
https://travis-ci.org/BoostIO/Boostnote/builds/301640651

We will review this pull request!

@kazup01 kazup01 added the awaiting review ❇️ Pull request is awaiting a review. label Nov 14, 2017
@kazup01 kazup01 requested a review from kohei-takata November 14, 2017 04:09
Copy link
Contributor

@kohei-takata kohei-takata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mslourens Thanks for your PR, and please check the comment!

}

insertImageMd (imageMd) {
const textarea = this.editor.getInputField()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you delete this line?
textarea is not used I think.

@kazup01 kazup01 added awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. and removed awaiting review ❇️ Pull request is awaiting a review. labels Nov 14, 2017
@mslourens
Copy link
Contributor Author

@kohei-takata I fixed my code according to your review comment, you can review it again.

@kazup01 kazup01 added awaiting review ❇️ Pull request is awaiting a review. and removed awaiting changes 🖊️ Pull request has been reviewed, but contributor needs to make changes. labels Nov 15, 2017
@kazup01
Copy link
Member

kazup01 commented Nov 15, 2017

Thank you @mslourens :)

Copy link
Contributor

@kohei-takata kohei-takata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

4 participants