Project

General

Profile

Bug #23787 » rtehtmlarea_bugfix_16058_typo3_4-4.patch

Administrator Admin, 2010-12-01 04:55

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
}
if (this.menu == null) {
this.menu = new Ext.ux.menu.HTMLAreaColorMenu({
cls: 'htmlarea-color-menu',
hideOnClick: false,
colors: this.colors,
colorsConfiguration: this.colorsConfiguration,
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Color/typo3color.js (copie de travail)
element: element,
buttonId: buttonId
},
this.getWindowDimensions({ width: 350}, buttonId),
this.getWindowDimensions(
{
width: 350,
height: 350
},
buttonId
),
this.buildItemsConfig(element, buttonId),
this.setColor
);
......
cls: 'htmlarea-window',
border: false,
width: dimensions.width,
height: 'auto',
height: dimensions.height,
autoScroll: true,
// As of ExtJS 3.1, JS error with IE when the window is resizable
resizable: !Ext.isIE,
iconCls: this.getButton(arguments.buttonId).iconCls,
......
items: {
xtype: 'container',
layout: 'form',
style: {
width: '95%'
},
defaults: {
labelWidth: 150
},
typo3/sysext/t3skin/rtehtmlarea/htmlarea.css (copie de travail)
border-width: 1px;
border-color: white;
}
.htmlarea-custom-colors {
.htmlarea-color-menu .htmlarea-custom-colors {
height: 170px;
overflow: auto;
}
.htmlarea-window .htmlarea-custom-colors {
height: auto;
overflow: inherit;
}
.htmlarea-custom-colors a {
border-color: transparent;
float: none;
display: block;
width: 90%;
}
.htmlarea-window .htmlarea-custom-colors a {
width: 100%;
}
.htmlarea-custom-colors em {
(2-2/3)