mirror of
https://github.com/jasny/bootstrap.git
synced 2026-01-22 12:48:10 -05:00
Added docs for .editor
Added jasny/forms-editor.less to jasny/bootstrap.less
This commit is contained in:
16
docs/templates/pages/base-css.mustache
vendored
16
docs/templates/pages/base-css.mustache
vendored
@@ -1239,6 +1239,22 @@
|
||||
Some text here
|
||||
on multiple lines
|
||||
</div>
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Editor textarea{{/i}}</h3>
|
||||
<p>{{_i}}Add <code>.editor</code> to any textarea or <code>.uneditable-textarea</code> to create a larger field for content editing.{{/i}}</p>
|
||||
<p>{{_i}}Also add <code>.editor-html</code>, if the textarea will be replaced by e.g. CKEditor or TinyMCE.{{/i}}</p>
|
||||
<form class="bs-docs-example">
|
||||
<textarea class="editor">
|
||||
Some text here
|
||||
on multiple lines
|
||||
</textarea>
|
||||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<textarea class="editor">
|
||||
Some text here
|
||||
on multiple lines
|
||||
</textarea>
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Form actions{{/i}}</h3>
|
||||
|
||||
1
docs/templates/pages/index.mustache
vendored
1
docs/templates/pages/index.mustache
vendored
@@ -46,6 +46,7 @@
|
||||
<div class="span3">
|
||||
<h3><a href="./base-css.html#forms">{{_i}}Form elements{{/i}}</a></h3>
|
||||
<p>{{_i}}Go beyond uneditable input and create a full uneditable form, with disabled and uneditable elements.{{/i}}</p>
|
||||
<p>{{_i}}Add .editor to a textarea to create a larger field for content editing.{{/i}}</p>
|
||||
</div>
|
||||
</div><!--/row-->
|
||||
</div>
|
||||
|
||||
2
less/jasny/bootstrap.less
vendored
2
less/jasny/bootstrap.less
vendored
@@ -14,3 +14,5 @@
|
||||
|
||||
// Base CSS
|
||||
@import "forms-uneditable.less";
|
||||
@import "forms-editor.less";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user