Closed
Description
Nature of issue?
- Existing feature enhancement
Feature enhancement details:
The default HTML for a sketch is defined in multiple places:
- client/modules/IDE/reducers/files.js
- server/domain-objects/createDefaultFiles.js
- server/scripts/examples.js
This makes it a bit tricky to update (see #1396).
We could define the template in one place that the files above use.
Note: When the public API is released, then the examples script (3) won't need to create HTML templates since the API creates default files automatically.