closes #153 tabindex bug

- fixes tabindex issue on editor page
This commit is contained in:
cobbspur 2013-06-23 11:49:30 +01:00
parent b7c1ed2aef
commit d1351dc8a3
2 changed files with 2 additions and 1 deletions

View File

@ -232,6 +232,7 @@
this.editor = CodeMirror.fromTextArea(document.getElementById('entry-markdown'), { this.editor = CodeMirror.fromTextArea(document.getElementById('entry-markdown'), {
mode: 'markdown', mode: 'markdown',
tabMode: 'indent', tabMode: 'indent',
tabindex: "2",
lineWrapping: true lineWrapping: true
}); });

View File

@ -4,7 +4,7 @@
<section class="box entry-title"> <section class="box entry-title">
<input type="text" id="entry-title" <input type="text" id="entry-title"
placeholder="{{e "editor.entry_title.placeholder" "The Post Title Gets Inserted Up Here"}}" placeholder="{{e "editor.entry_title.placeholder" "The Post Title Gets Inserted Up Here"}}"
value="{{title}}"> value="{{title}}" tabindex="1">
</section> </section>
</header> </header>