Bug #23856 » rtehtmlarea_bugfix_16148_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js (copie de travail) | ||
---|---|---|
* @return void
|
||
*/
|
||
insertCharacter: function (event, target) {
|
||
event.stopEvent();
|
||
this.editor.focus();
|
||
this.restoreSelection();
|
||
var entity = Ext.get(target).dom.innerHTML;
|
||
... | ... | |
// Firefox and WebKit convert ' ' to ' '
|
||
this.editor.insertNodeAtSelection(this.editor.document.createTextNode(((Ext.isGecko || Ext.isWebKit) && entity == ' ') ? '\xA0' : entity));
|
||
}
|
||
return false;
|
||
},
|
||
/*
|
||
* Reset focus on the the current selection, if at all possible
|
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js (copie de travail) | ||
---|---|---|
* @return void
|
||
*/
|
||
insertImageTag: function (event, target) {
|
||
event.stopEvent();
|
||
this.editor.focus();
|
||
this.restoreSelection();
|
||
var icon = Ext.get(target).first();
|
||
... | ... | |
this.editor.selectNode(imgTag, false);
|
||
}
|
||
this.close();
|
||
return false;
|
||
}
|
||
});
|