Jellycuts / Jellycuts-Issues

A public issue tracker for the Jellycuts iOS app.
23 stars 0 forks source link

Code samples in the learning center are editable #53

Closed colin273 closed 3 years ago

colin273 commented 3 years ago

Describe the bug

The code samples in the documentation can be edited. Edits do not persist between views of the screen, but it's too easy to get rid of the intended code sample.

To Reproduce

Steps to reproduce the behavior:

  1. Open up a page in the documentation.
  2. Tap on a code sample to bring up the keyboard.
  3. Type something, delete any text, etc.

Expected behavior

Code samples should be selectable and copiable, but not editable.

Screenshots

N/A

Information

Additional context

I know that code samples in the MDN web docs can be edited and executed, but in an app like Jellycuts, users should be playing around with code in the editor, not sample boxes.