From 69045673efa8385d23b4d94d608a756149490c61 Mon Sep 17 00:00:00 2001 From: Arnold Daniels Date: Mon, 16 Jul 2012 20:48:59 +0200 Subject: [PATCH] Added docs for `.editor` Added jasny/forms-editor.less to jasny/bootstrap.less --- docs/templates/pages/base-css.mustache | 16 ++++++++++++++++ docs/templates/pages/index.mustache | 1 + less/jasny/bootstrap.less | 2 ++ 3 files changed, 19 insertions(+) diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 97e24cb5..b89dcbbd 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1239,6 +1239,22 @@ Some text here on multiple lines </div> + + +

{{_i}}Editor textarea{{/i}}

+

{{_i}}Add .editor to any textarea or .uneditable-textarea to create a larger field for content editing.{{/i}}

+

{{_i}}Also add .editor-html, if the textarea will be replaced by e.g. CKEditor or TinyMCE.{{/i}}

+
+ +
+
+<textarea class="editor">
+  Some text here
+  on multiple lines
+</textarea>
 

{{_i}}Form actions{{/i}}

diff --git a/docs/templates/pages/index.mustache b/docs/templates/pages/index.mustache index 938b990d..0cfe5d4a 100644 --- a/docs/templates/pages/index.mustache +++ b/docs/templates/pages/index.mustache @@ -46,6 +46,7 @@

{{_i}}Form elements{{/i}}

{{_i}}Go beyond uneditable input and create a full uneditable form, with disabled and uneditable elements.{{/i}}

+

{{_i}}Add .editor to a textarea to create a larger field for content editing.{{/i}}

diff --git a/less/jasny/bootstrap.less b/less/jasny/bootstrap.less index af58c9fa..e6f96cc2 100644 --- a/less/jasny/bootstrap.less +++ b/less/jasny/bootstrap.less @@ -14,3 +14,5 @@ // Base CSS @import "forms-uneditable.less"; +@import "forms-editor.less"; +