Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
The yellow button in the example code removes the existing code and then pastes the example code. For example code that behaviour is fine I guess.
But in the cheat sheet, you might only want a copy button. Because right now when you want to cheat, push the yellow button, all your hard work is gone.
In https://github.com/hedyorg/hedy/pull/5648#issuecomment-2209078471 we discussed pasting behaviour of a paste button (Paste at the end? Paste at the cursor?)
The yellow button in the example code removes the existing code and then pastes the example code. For example code that behaviour is fine I guess.
But in the cheat sheet, you might only want a copy button. Because right now when you want to cheat, push the yellow button, all your hard work is gone.