Skip to content

Copy and Past in code block fails #382

Description

@fabianwilflingseder

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions