Commit ff1d9658 authored by Carsten  Rose's avatar Carsten Rose
Browse files

richtexteditor.html: added 'auto_focus' to second RTE.

parent f000706b
......@@ -57,27 +57,25 @@
<div class="form-group">
<div class="col-md-2">
<label for="text" class="control-label">Rich Text Editor</label>
<label for="text" class="control-label">Rich Text Editor (default)</label>
</div>
<div class="col-md-6">
<textarea id="text" class="qfq-tinymce" name="rte">Input
</textarea>
</div>
</div>
<div class="form-group">
<div class="col-md-2">
<label for="text:2" class="control-label">Rich Text Editor</label>
<label for="text:2" class="control-label">Rich Text Editor (plugins, autofocus)</label>
</div>
<div class="col-md-6">
<textarea id="text:2" class="qfq-tinymce" name="rte"
data-config="{ &quot;plugins&quot;: &quot;advlist autolink link image lists charmap print preview&quot;}">Input
data-config="{ &quot;plugins&quot;: &quot;advlist autolink link image lists charmap print preview&quot;, &quot;auto_focus&quot;: &quot;text:2&quot;}">Input
</textarea>
</div>
</div>
<button type="submit">Do</button>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment