mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Restored row/col defaults in TextareaField and HtmlEditorField (broken in 1a10e8bc
)
This commit is contained in:
parent
dc9b1a4bb8
commit
243d4d45aa
@ -13,6 +13,8 @@ class HtmlEditorField extends TextareaField {
|
|||||||
*/
|
*/
|
||||||
static $use_gzip = true;
|
static $use_gzip = true;
|
||||||
|
|
||||||
|
protected $rows = 30;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Includes the JavaScript neccesary for this field to work using the {@link Requirements} system.
|
* Includes the JavaScript neccesary for this field to work using the {@link Requirements} system.
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +24,15 @@ class TextareaField extends FormField {
|
|||||||
|
|
||||||
protected $template = 'TextareaField';
|
protected $template = 'TextareaField';
|
||||||
|
|
||||||
protected $rows, $cols;
|
/**
|
||||||
|
* @var Int Visible number of text lines.
|
||||||
|
*/
|
||||||
|
protected $rows = 5;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Int Width of the text area (in average character widths)
|
||||||
|
*/
|
||||||
|
protected $cols = 20;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new textarea field.
|
* Create a new textarea field.
|
||||||
|
Loading…
Reference in New Issue
Block a user