[cm6] Prevent the editor being focused when read-only GitOrigin-RevId: 7de9f2df2421b57b3315d59d640f7c8b46caf178