Bug #23993 » rtehtmlarea_bugfix_16313_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js (copie de travail) | ||
---|---|---|
* Registering plugin "About" information
|
||
*/
|
||
var pluginInformation = {
|
||
version : '2.1',
|
||
version : '2.2',
|
||
developer : 'Stanislas Rolland',
|
||
developerUrl : 'http://www.sjbr.ca/',
|
||
copyrightOwner : 'Stanislas Rolland',
|
||
... | ... | |
*/
|
||
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,
|