Skip to content

Change Copy Prevention to Paste Prevention in Tutorial #1292

@jillesme

Description

@jillesme

I've been loving Svelte and SvelteKit a lot. Sometimes when you Google a specific terms, you get redirected to the playground. For example, SvelteKit environment variables:

Image

I understand we don't want people copy and pasting code, but not being able to copy for purposes other than the tutorial is frustrating. I presume the reason we don't want people to copy, is to prevent them from blindly copy and pasting code without learning.

What if instead we blocked pasting code? It would achieve the same effect: prevent people from copy/pasting code inside the tutorial editor, but for the rest of us that stumble on a tutorial page and use it as reference, we can copy without the annoying pop-up.

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