I was checking the codemirror addon and I don't think it's worth the extra noise to add those other checks for now