refopensearch.xml titleDavid Walsh Blog SearchKeywords:Body:
David Walsh Blog By David WalshNovember 25, 2016CodeMirror: Set Focus at End of LineCodeMirror is a WYSIWYG-like editor that allows for rich text editing on a small scale, oftentimes used to allow Markdown聽editing, much like ReviewBoard uses it for. 聽One problem I've found, however, is聽that calling a CodeMirror instance's focus聽method put the cursor at the beginning of the input,聽which...acode
copy; David Walsh 2007-2016. All code MIT license.Hosting by Media Temple.If anything helps, feel free to buy me a beer.