mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Hide cut, copy and paste buttons from gecko browsers
This commit is contained in:
parent
9466f50707
commit
61d5f1854d
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ function HTMLArea(textarea, config) {
|
||||||
this._mdoc = document; // cache the document, we need it in plugins
|
this._mdoc = document; // cache the document, we need it in plugins
|
||||||
this.doctype = '';
|
this.doctype = '';
|
||||||
}
|
}
|
||||||
|
// Hide cut, copy and paste buttons from gecko browsers
|
||||||
|
if (HTMLArea.is_gecko) {
|
||||||
|
this.config.hideSomeButtons(" cut copy paste ");
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// cache some regexps
|
// cache some regexps
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue