[BUGFIX] Increase the width of the content element of type Plain HTML 67/21767/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 19 May 2013 15:55:35 +0000 (17:55 +0200)
committerBenjamin Mack <benni@typo3.org>
Mon, 1 Jul 2013 12:49:55 +0000 (14:49 +0200)
The current editor field for content elements of type HTML is for too
small. Without t3editor it is only 5 lines in height and with t3editor
it is limited to 200px which is not much more.

Increase the default size for tt_content.bodytext to 80x15 and set the
height for t3editor fields to 60% as done in setup.

Resolves: #43112
Releases: 6.2, 6.1, 6.0
Change-Id: Icc27cb013cc3009dace5dedef2f9515af1975ec0
Reviewed-on: https://review.typo3.org/20923
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/21766
Reviewed-on: https://review.typo3.org/21767

typo3/sysext/cms/tbl_tt_content.php
typo3/sysext/t3editor/ext_tables.php

index 31d294d..05ad63a 100755 (executable)
@@ -428,8 +428,8 @@ $TCA['tt_content'] = array(
                        'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.text',
                        'config' => array(
                                'type' => 'text',
-                               'cols' => '48',
-                               'rows' => '5',
+                               'cols' => '80',
+                               'rows' => '15',
                                'wizards' => array(
                                        '_PADDING' => 4,
                                        '_VALIGN' => 'middle',
index a4c5f8d..f36a585 100644 (file)
@@ -20,7 +20,7 @@ if (TYPO3_MODE === 'BE') {
                'script' => 'wizard_table.php',
                'params' => array(
                        'format' => 'html',
-                       'style' => 'width:98%; height: 200px;'
+                       'style' => 'width:98%; height: 60%;'
                )
        );
        // Activate the t3editor only for type html