Closed aroberge closed 9 years ago
This was implemented as something automatic when the world editor is shown. In addition I have now made it possible to run code when editing the world - otherwise most of the usefulness of having the editor for the pre- and post- code was lost.
It might be useful to include a special developer's mode for the site. One example might be to include additional editors: 1 for pre-code, 1 for post-code, and one for html-based description which would normally be hidden. When developer mode would be enabled, these additional editors would be shown and, when executing a program, the world would be first updated to include the code shown in these editors. This would be a much friendlier way to create worlds making use of these features.
Edit: actually, perhaps this could be automatically enabled when the world editor is shown ...