Activate layout before initialising editors
Remove CodeMirror's closetag module