fixed bug with inline-edit and code mirror