Skip to content

Feature-request: copy-as-rtf, copy-selection-as-rtf #445

Open
@dhowe

Description

@dhowe

Support copy sketch (or selection) to allow pasting into other documents with syntax highlighting, etc.

This is a really common task for teachers: code an example, paste it into a powerpoint or keynote doc...

Activity

catarak

catarak commented on Sep 26, 2017

@catarak
Member

great idea! i don't know how easy or hard this is to do, or if codemirror already supports this.

added
Priority:LowLow-impact issue that can be addressed after higher-priority tasks
Feature RequestProposal for adding a new functionality
on Sep 26, 2017
dhowe

dhowe commented on Sep 17, 2018

@dhowe
Author

I wanted to second this request (even though it was mine to begin with)... ;)

this is absolutely crucial for those of us making presentation slides (keynote, powerpoint, etc) from sketches...

https://discuss.codemirror.net/t/include-textmarkers-in-copy-paste-operation/1054

catarak

catarak commented on Sep 17, 2018

@catarak
Member

i hear that! a workaround for now could be taking a screenshot of the code in a code editor, and then adding alt text to the image that is the code.

dhowe

dhowe commented on Aug 30, 2020

@dhowe
Author

any movement on this? really important for teaching

added
Good First IssueA beginner-friendly issue, great for first-time contributors
Help WantedWould love additional input or contributions!
and removed
Priority:LowLow-impact issue that can be addressed after higher-priority tasks
on Sep 2, 2020
catarak

catarak commented on Sep 2, 2020

@catarak
Member

There's hasn't been any movement on this and and I hear that it's important to you. I just added the help wanted label so that someone else might pick it up!

Someone was able to get RTF copy in CodeMirror working, see https://discuss.codemirror.net/t/rich-text-copy/695/4

Also, it's not ideal, but one workaround would be to download your sketch and then open it in a different text editor. I just tried this with VSCode and then copying the code to Keynote and it kept the formatting.

ash97531

ash97531 commented on Dec 15, 2021

@ash97531

I understood the issue, as I am new in open source contribution I would like to take this issue. Can it be assigned to me?
@catarak

catarak

catarak commented on Dec 16, 2021

@catarak
Member

@ash97531 feel free to work on this issue!

ash97531

ash97531 commented on Dec 23, 2021

@ash97531

where can I ask doubts regarding codebase or if I stuck somewhere? It will be helpful for me to work on this feature.
And medium or platform to discuss?

ash97531

ash97531 commented on Jan 27, 2024

@ash97531

@catarak Can you please verify

5 remaining items

Loading
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

    Feature RequestProposal for adding a new functionalityGood First IssueA beginner-friendly issue, great for first-time contributorsHelp WantedWould love additional input or contributions!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @dhowe@catarak@mr-loop-1@ash97531@Indhiraraj

      Issue actions

        Feature-request: copy-as-rtf, copy-selection-as-rtf · Issue #445 · processing/p5.js-web-editor