formatName($this->column); $config = Ueditor::config('config', []); $config = json_encode(array_merge($config, $this->options)); $laravel_ueditor_route = config('ueditor.route.name'); $token = csrf_token(); $this->script = <<id}"); var ue_{$this->id} = UE.getEditor('{$this->id}', {$config}); ue_{$this->id}.ready(function() { ue_{$this->id}.execCommand('serverparam', '_token', '$token'); }); EOT; return parent::render(); } }