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"; +