Skip to content
#

playground

Here are 1,903 public repositories matching this topic...

sandpack
danilowoz
danilowoz commented Feb 1, 2022

Tell us how you think we can improve Sandpack

Improve the test coverage in the read-only mode feature and in the editorState state.

Possible cases

editorState

  • Render a Sandpack from scratch and make sure the editorState has the initial value (pristine);
  • Render a Sandpack, update any file content, and make sure the editorState is set to dirty;
  • Render a Sandpack
react-view
sachdeva-shrey
sachdeva-shrey commented Mar 16, 2021

Is your feature request related to a problem? Please Describe.
I have a use-case where I wanted to disable the editing in the Editor component but currently this is not supported.

Describe the solution you'd like
A prop named enabled or something similar, that can be used to change the state of the Editor.

Improve this page

Add a description, image, and links to the playground topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the playground topic, visit your repo's landing page and select "manage topics."

Learn more