Fix null style request in codemirror