Bug #23993 » rtehtmlarea_bugfix_16313_typo3_4-4.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js (copie de travail) | ||
---|---|---|
*/
|
||
onGenerate: function () {
|
||
this.editor.iframe.mon(Ext.get(Ext.isIE ? this.editor.document.body : this.editor.document.documentElement), 'cut', this.cutHandler, this);
|
||
// Add hot key handling if the button is not enabled in the toolbar
|
||
Ext.iterate(this.buttonList, function (buttonId, button) {
|
||
if (!this.isButtonInToolbar(buttonId)) {
|
||
// Remove button from toolbar, if command is not supported
|
||
// Starting with Safari 5 and Chrome 6, cut and copy commands are not supported anymore by WebKit
|
||
if (!Ext.isGecko && !this.editor.document.queryCommandSupported(buttonId)) {
|
||
this.editor.toolbar.remove(buttonId);
|
||
}
|
||
// Add hot key handling if the button is not enabled in the toolbar
|
||
if (!this.getButton(buttonId)) {
|
||
this.editor.iframe.hotKeyMap.addBinding({
|
||
key: button[1].toUpperCase(),
|
||
ctrl: true,
|
- « Previous
- 1
- 2
- Next »