[BUGFIX] RTE: Incorrect rendering of toolbar labels 24/35524/2
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 16 Dec 2014 19:41:19 +0000 (14:41 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 16 Dec 2014 19:42:48 +0000 (20:42 +0100)
This is a follow-up to https://review.typo3.org/#/c/35487/

Releases: master
Resolves: #63794
Change-Id: Id860722c2b4f5b0d4c9f2782e2f24ff0c3f86572
Reviewed-on: http://review.typo3.org/35524
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js

index 41d4dc6..c7d51d4 100644 (file)
@@ -153,6 +153,7 @@ define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/Toolbar',
                                if (item.fieldLabel) {
                                        var textDiv = document.createElement('div');
                                        Dom.addClass(textDiv, 'x-form-item');
+                                       Dom.addClass(textDiv, 'toolbar-text');
                                        var text = document.createElement('label');
                                        text.innerHTML = item.fieldLabel;
                                        Dom.addClass(text, 'x-form-item-label');