Use correct loading mode of Bootstrap-Markdown
data-provide="markdown-editable" is intended for inline editing of page content à la contenteditable. When this is applied to a textarea, the editor is loaded only after the user clicks on the field. This behavior breaks focus and is incompatible with keyboard navigation.
This commit is contained in:
parent
0646e41a82
commit
ce59c37ff6
15 changed files with 19 additions and 19 deletions
|
|
@ -17,7 +17,7 @@
|
|||
input_html: { class: 'form-control',
|
||||
id: 'registration-period-end-datepicker' }
|
||||
= f.input :description, hint: markdown_hint,
|
||||
input_html: { rows: 2, data: { provide: 'markdown-editable' } }
|
||||
input_html: { rows: 2, data: { provide: 'markdown' } }
|
||||
- if cfp.cfp_type == 'events'
|
||||
= f.input :enable_registrations, as: :boolean,
|
||||
hint: 'Allow submitters to request registration?'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue