moved from textarea to ace editor