Fixed general editor demo (ace)

This is a simple fix to address issue #184; hope that would solve some frustrations.

Please see if that really works. Thanks!