Hide cut, copy and paste buttons from gecko browsers
authorjulmis <julmis>
Mon, 3 Nov 2003 23:53:49 +0000 (23:53 +0000)
committerjulmis <julmis>
Mon, 3 Nov 2003 23:53:49 +0000 (23:53 +0000)
lib/editor/htmlarea.php

index d5870e22efb3fb836053bf5f7d117b5347c44b89..bc0c2c977b60cbfba8837c7457b24a15f00a67c1 100644 (file)
@@ -56,6 +56,10 @@ function HTMLArea(textarea, config) {
                this._mdoc = document; // cache the document, we need it in plugins
                this.doctype = '';
        }
+       // Hide cut, copy and paste buttons from gecko browsers
+       if (HTMLArea.is_gecko) {
+               this.config.hideSomeButtons(" cut copy paste ");
+       }
 };
 
 // cache some regexps