Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!11439
Move resize CSS to its own library and attach it from textarea elements.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Move resize CSS to its own library and attach it from textarea elements.
issue/drupal-3512194:3512194-move-resize-css
into
11.x
Overview
4
Commits
11
Pipelines
13
Changes
9
All threads resolved!
Hide all comments
Closed
catch
requested to merge
issue/drupal-3512194:3512194-move-resize-css
into
11.x
3 months ago
Overview
4
Commits
11
Pipelines
13
Changes
9
All threads resolved!
Hide all comments
Expand
Closes
#3512194
0
0
Merge request reports
Compare
11.x
version 12
10bfc892
2 months ago
version 11
e23e4630
2 months ago
version 10
105b88e7
2 months ago
version 9
0e40fb03
3 months ago
version 8
a88b1ab8
3 months ago
version 7
85bb1b98
3 months ago
version 6
92b01ca0
3 months ago
version 5
d9932ca6
3 months ago
version 4
3227e2dd
3 months ago
version 3
cbacea43
3 months ago
version 2
c42a4df1
3 months ago
version 1
79a86c3f
3 months ago
11.x (base)
and
latest version
latest version
ee393f34
11 commits,
2 months ago
version 12
10bfc892
10 commits,
2 months ago
version 11
e23e4630
11 commits,
2 months ago
version 10
105b88e7
10 commits,
2 months ago
version 9
0e40fb03
8 commits,
3 months ago
version 8
a88b1ab8
7 commits,
3 months ago
version 7
85bb1b98
7 commits,
3 months ago
version 6
92b01ca0
6 commits,
3 months ago
version 5
d9932ca6
5 commits,
3 months ago
version 4
3227e2dd
4 commits,
3 months ago
version 3
cbacea43
3 commits,
3 months ago
version 2
c42a4df1
2 commits,
3 months ago
version 1
79a86c3f
1 commit,
3 months ago
9 files
+
34
−
7
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Core/Render/Element/Textarea.php
+
9
−
0
Options
@@ -44,12 +44,21 @@ public function getInfo() {
@@ -44,12 +44,21 @@ public function getInfo() {
],
],
'#pre_render'
=>
[
'#pre_render'
=>
[
[
static
::
class
,
'preRenderGroup'
],
[
static
::
class
,
'preRenderGroup'
],
[
static
::
class
,
'preRenderAttachments'
],
],
],
'#theme'
=>
'textarea'
,
'#theme'
=>
'textarea'
,
'#theme_wrappers'
=>
[
'form_element'
],
'#theme_wrappers'
=>
[
'form_element'
],
];
];
}
}
/**
* Adds the textarea resize library.
*/
public
static
function
preRenderAttachments
(
$element
):
array
{
$element
[
'#attached'
][
'library'
][]
=
'core/drupal.textarea-resize'
;
return
$element
;
}
/**
/**
* {@inheritdoc}
* {@inheritdoc}
*/
*/
Loading