refactored editor.html css