formatName($this->column); $this->script = <<id}'); editor.customConfig.zIndex = 0 editor.customConfig.uploadImgServer = '/admin/uploads/editor' editor.customConfig.uploadImgMaxSize = 2 * 1024 * 1024 editor.customConfig.uploadFileName = 'image[]' editor.customConfig.uploadImgParams = { _token: '{$_token}' } editor.customConfig.onchange = function (html) { $('input[name=\'$name\']').val(html); } editor.create() EOT; return parent::render(); } }