Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Hide cut, copy and paste buttons from gecko browsers

  • Loading branch information...
commit 61d5f1854d1a126718b295bcffd4398b23773a23 1 parent 9466f50
julmis authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/editor/htmlarea.php
View
4 lib/editor/htmlarea.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.