Permalink
Browse files

Hide cut, copy and paste buttons from gecko browsers

  • Loading branch information...
julmis
julmis committed Nov 3, 2003
1 parent 9466f50 commit 61d5f1854d1a126718b295bcffd4398b23773a23
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/editor/htmlarea.php
View
@@ -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

0 comments on commit 61d5f18

Please sign in to comment.