diff --git a/libs/FML/Script/Features/Clipboard.php b/libs/FML/Script/Features/Clipboard.php index 6ea94b04..bb76ced3 100644 --- a/libs/FML/Script/Features/Clipboard.php +++ b/libs/FML/Script/Features/Clipboard.php @@ -71,6 +71,9 @@ class Clipboard extends ScriptFeature } $this->control = $control; + if ($this->control instanceof Scriptable) { + $this->control->setScriptEvents(true); + } if ($this->value !== null) { $this->setValue($this->value);