Copyleft Games

Editor tab bar

Our web-based editor currently has a "new tab" button and a tab bar, but nothing to implement more than one tab open.

Implement the new tab button so that additional tabs are opened. When more than one tab is open, the current tab should have an "X" button on the right to close it. Use ACE's API https://ace.c9.io/#nav=api and the "kitchen sink" demo https://ace.c9.io/build/kitchen-sink.html to implement multi-document support properly.

Submit your .js file and modified along with the necessary changes to templates/editor.xslt (see https://hg.copyleftgames.org/gci/file/tip/templates/editor.xslt ).

Task tags

  • javascript
  • ace

Students who completed this task

kinshukk

Task type

  • code Code
  • assessment Outreach / Research
close

2015