Added docs for .editor

Added jasny/forms-editor.less to jasny/bootstrap.less
This commit is contained in:
Arnold Daniels
2012-07-16 20:48:59 +02:00
parent efe213a086
commit 69045673ef
3 changed files with 19 additions and 0 deletions

View File

@@ -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">
&lt;textarea class="editor"&gt;
Some text here
on multiple lines
&lt;/textarea&gt;
</pre>
<h3>{{_i}}Form actions{{/i}}</h3>

View File

@@ -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>

View File

@@ -14,3 +14,5 @@
// Base CSS
@import "forms-uneditable.less";
@import "forms-editor.less";