Autofocus code mirror on load
This commit is contained in:
@ -120,6 +120,7 @@ class MarkdownEditor extends React.Component {
|
|||||||
viewportMargin: Infinity,
|
viewportMargin: Infinity,
|
||||||
scrollbarStyle: 'null',
|
scrollbarStyle: 'null',
|
||||||
theme: 'atlas',
|
theme: 'atlas',
|
||||||
|
autofocus: true,
|
||||||
extraKeys: {
|
extraKeys: {
|
||||||
Enter: 'newlineAndIndentContinueMarkdownList',
|
Enter: 'newlineAndIndentContinueMarkdownList',
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user