Project

General

Profile

Bug #24091 » rtehtmlarea_bugfix_16431_trunk.patch

Administrator Admin, 2010-11-17 04:33

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js (copie de travail)
range.selectNodeContents(node);
}
} else {
range.selectNode(node);
if (node.nodeType == HTMLArea.DOM.ELEMENT_NODE && (Ext.isWebKit || Ext.isOpera)) {
range.setStart(node, 0);
range.setEnd(node, 0);
} else {
range.selectNode(node);
}
}
if (typeof(endPoint) != "undefined") {
range.collapse(endPoint);
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
/*
* Handler for mouse events
*/
onMouse: function () {
onMouse: function (event, target) {
// In WebKit, select the image when it is clicked
if (Ext.isWebKit && /^(img)$/i.test(target.nodeName)) {
this.getEditor().selectNode(target);
}
this.getToolbar().updateLater.delay(100);
return true;
},
typo3/sysext/rtehtmlarea/htmlarea/skins/default/htmlarea-edited-content.css (copie de travail)
background-color:#ffffff;
border-width:0;
}
/* Set cursor for WebKit */
.htmlarea-content-body img,
.htmlarea-content-body table {
cursor: default;
}
.htmlarea-content-body table td,
.htmlarea-content-body table th {
cursor: text;
}
/* Selectors for the Table Operations plugin */
/* Make borders visible */
/* Make sure we can click in empty cells without too much difficulty */
typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css (copie de travail)
background-color:#ffffff;
border-width:0;
}
/* Set cursor for WebKit */
.htmlarea-content-body img,
.htmlarea-content-body table {
cursor: default;
}
.htmlarea-content-body table td,
.htmlarea-content-body table th {
cursor: text;
}
/* Selectors for the Table Operations plugin */
/* Make borders visible */
/* Make sure we can click in empty cells without too much difficulty */
(1-1/5)