[!!!][TASK] FormEngine: Unify resizable textareas 94/35794/4
authorBenjamin Mack <benni@typo3.org>
Mon, 5 Jan 2015 17:14:48 +0000 (18:14 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 5 Jan 2015 21:56:44 +0000 (22:56 +0100)
commitd116a41b08cf9cef8ab5492b838ffcad6df998a5
tree19ffc02a169a3c4be3c5835da5f27fc6e890e63c
parentc064eb5d39d5f83ac74d4840ff87c815af4b7296
[!!!][TASK] FormEngine: Unify resizable textareas

TYPO3 has some special functionality
for FormEngine textareas (without RTE).
The options are available through the users'
settings.

1. Resize a textarea
2. "Autogrow" a textarea. As soon as
the contents are larger than the textarea
the textarea's height is adapted.

The first feature (and option) is dropped. Although
it is working natively in most browsers (except IE)
via CSS, the horizontal resizing is a no-go for forms,
as agreed with the Design Team.

The second feature is rewritten with a unified
solution based on jQuery, which loads only when
needed (and works with AJAX) and works in all
browsers.

Resolves: #64131
Resolves: #55540
Releases: master
Change-Id: Id3f2c520fd76043e2cce80e92732a12e58e395ac
Reviewed-on: http://review.typo3.org/35794
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
14 files changed:
typo3/contrib/jquery/jquery.autosize.js [new file with mode: 0644]
typo3/contrib/jquery/jquery.autosize.min.js [new file with mode: 0644]
typo3/js/extjs/ux/ext.resizable.js [deleted file]
typo3/js/extjs/ux/resize.css [deleted file]
typo3/js/extjs/ux/resize.gif [deleted file]
typo3/sysext/backend/Classes/Form/Element/FlexElement.php
typo3/sysext/backend/Classes/Form/Element/TextElement.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/tceforms.js
typo3/sysext/core/Documentation/Changelog/master/Breaking-64131-ResizableTextareasOptionDropped.rst [new file with mode: 0644]
typo3/sysext/setup/ext_tables.php
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_element_tceforms.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css