'); $("body").append($temp); $temp.val(content).select(); document.execCommand("copy"); $temp.remove(); $(this).tooltip('show'); }); JS; Admin::script($script); } public function display() { $this->addScript(); $content = $this->column->getOriginal(); $html = <<  {$this->value} HTML; return $this->value === '' || $this->value === null ? $this->value : $html; } }