Temporary fix for Edit view issue with codemirror