Project

General

Profile

Bug #22703 » rtehtmlarea_bugfix_14464_trunk.patch

Administrator Admin, 2010-06-18 19:12

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (copie de travail)
element = "<" + element + ">";
}
this.editor.focus();
if (Ext.isWebKit && !this.editor._doc.body.hasChildNodes()) {
this.editor._doc.body.appendChild((this.editor._doc.createElement("br")));
if (Ext.isWebKit) {
if (!this.editor._doc.body.hasChildNodes()) {
this.editor._doc.body.appendChild((this.editor._doc.createElement("br")));
}
// WebKit sometimes leaves empty block at the end of the selection
this.editor._doc.body.normalize();
}
try {
this.editor._doc.execCommand(buttonId, false, element);
(1-1/3)