From 61d5f1854d1a126718b295bcffd4398b23773a23 Mon Sep 17 00:00:00 2001 From: julmis Date: Mon, 3 Nov 2003 23:53:49 +0000 Subject: [PATCH] Hide cut, copy and paste buttons from gecko browsers --- lib/editor/htmlarea.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index d5870e22ef..bc0c2c977b 100644 --- a/lib/editor/htmlarea.php +++ b/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 -- 2.39.5