Skip to content

strange code copy behavior #393

Description

@nnaydenow

My editor has file which has following html code as source.

<!-- playground-hide -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sample</title>
</head>

<body>
    <!-- playground-hide-end -->
    <button>Some visible content>
    <!-- playground-hide -->
    <script type="module" src="main.js"></script>
</body>

</html>
<!-- playground-hide-end -->

If I do cmd + a, then cmd+v the whole page content is pasted even if only the <button>Some visible content> is the only displayed content inside the editor.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions