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

Copy and Past in code block fails #382

Closed
fabianwilflingseder opened this Issue May 1, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@fabianwilflingseder

fabianwilflingseder commented May 1, 2017

For Bug Reports

  • BookStack Version: v0.16.1
  • PHP Version: 5.6.30-0+deb8u1
  • MySQL Version: 5.6.29-1~dotdeb+7.1
Expected Behavior

If I copy some code of a code block and paste it to another position in a code block, the code/text should appear IN the code block.

Actual Behavior

If you copy some code of a code block and paste it to another line in the (same) code block, the old code block gets splitted and a new code block with the pasted code appears! So you have three code blocks at the end.

Images:

2017-05-01_12h44_30

Copy and Paste the line with "some code to copy"

2017-05-01_12h44_13

@Shackelford-Arden

This comment has been minimized.

Show comment
Hide comment
@Shackelford-Arden

Shackelford-Arden May 19, 2017

Just adding that running the latest version of BookStack 16.2, this is still an issue.

Shackelford-Arden commented May 19, 2017

Just adding that running the latest version of BookStack 16.2, this is still an issue.

@ssddanbrown ssddanbrown added the Bug label Jun 4, 2017

@ssddanbrown ssddanbrown added this to the BookStack Beta v0.17 milestone Jul 1, 2017

@ssddanbrown

This comment has been minimized.

Show comment
Hide comment
@ssddanbrown

ssddanbrown Jul 2, 2017

Member

Thanks both for confirming this issue. This is now fixed as of 968e7b8 as part of the revamped code editing experience. It will be released as part of the upcoming v0.17 release. Therefore I will go ahead and close this issue.

Member

ssddanbrown commented Jul 2, 2017

Thanks both for confirming this issue. This is now fixed as of 968e7b8 as part of the revamped code editing experience. It will be released as part of the upcoming v0.17 release. Therefore I will go ahead and close this issue.

@ssddanbrown ssddanbrown closed this Jul 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment