* Fixed bug #16245: htmlArea RTE: When inserting link with IE8, trailing line break is also linked
* Updated htmlArea RTE version to 2.1.3
+ * Fixed bug #16313: htmlArea RTE: WebKit does not support copy and cut commands anymore
2010-11-07 Steffen Gebert <steffen@steffen-gebert.de>
* Fixed bug #16245: htmlArea RTE: When inserting link with IE8, trailing line break is also linked
* Updated htmlArea RTE version to 2.1.3
+ * Fixed bug #16313: htmlArea RTE: WebKit does not support copy and cut commands anymore
2010-11-07 Stanislas Rolland <typo3@sjbr.ca>
* 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,