Taking Input from Codemirror

Thanks, I will check it out