Change record status: 
Project: 
Introduced in branch: 
8.x
Introduced in version: 
8.x
Description: 

API changes

  • textarea.js, previously used to create resizable textarea form elements, has been removed from core.
  • Instead, the CSS3 resize property for textarea elements now controls this behavior.
  • The #resizable Form API property now supports four possible values:
    • vertical
    • horizontal
    • both
    • none
  • The following styles are available to themes
    • resizeable-vertical
    • resizeable-horizontal
    • resizeable-both
    • resizeable-none

UI changes

Before


Now


Sample usage

Before

<?php
function mymodule_foo_form(&$form, &$form_state) {
 
$form['blank_verse'] = array(
   
'#type' => 'textarea',
   
'#title' => t('Blank verse poem'),
   
'#description' => t('Lines should be five iambic feet.'),
   
'#resizable' => TRUE,
  );
}
?>

Now

<?php
function mymodule_foo_form(&$form, &$form_state) {
 
$form['blank_verse'] = array(
   
'#type' => 'textarea',
   
'#title' => t('Blank verse poem'),
   
'#description' => t('Lines should be five iambic feet.'),
   
'#resizable' => 'vertical',
  );
}
?>
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done